Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Commit 1d9c019

Browse files
committed
final compilex fixes
1 parent b683286 commit 1d9c019

File tree

3 files changed

+2
-28
lines changed

3 files changed

+2
-28
lines changed

Source/UnrealEnginePython/Private/PythonComponent.cpp

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -118,28 +118,6 @@ void UPythonComponent::BeginPlay()
118118

119119
}
120120

121-
void UPythonComponent::EndPlay(const EEndPlayReason::Type EndPlayReason)
122-
{
123-
if (!py_component_instance)
124-
return;
125-
126-
FScopePythonGIL gil;
127-
128-
if (PyObject_HasAttrString(py_component_instance, (char *)"end_play")) {
129-
PyObject *ep_ret = PyObject_CallMethod(py_component_instance, (char *)"end_play", (char*)"i", (int)EndPlayReason);
130-
131-
if (!ep_ret) {
132-
unreal_engine_py_log_error();
133-
}
134-
135-
Py_XDECREF(ep_ret);
136-
}
137-
138-
Super::EndPlay(EndPlayReason);
139-
140-
// ...
141-
}
142-
143121
void UPythonComponent::EndPlay(const EEndPlayReason::Type EndPlayReason)
144122
{
145123
if (!py_component_instance)

Source/UnrealEnginePython/Private/UEPyModule.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@
3535

3636

3737
#include "UEPyAssetUserData.h"
38-
#include "UEPyTexture.h"
39-
#include "UEPyMaterial.h"
40-
#include "UEPyPawn.h"
41-
#include "UEPyController.h"
4238
#include "UEPyLambda.h"
4339

4440
#if WITH_EDITOR

UnrealEnginePython.uplugin

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"FileVersion": 3,
33
"Version": 1,
4-
"VersionName": "1.1.0",
4+
"VersionName": "1.2.0",
55
"FriendlyName": "UnrealEnginePython",
66
"Description": "Embed a Python VM in your project",
77
"Category": "Scripting Languages",
@@ -18,7 +18,7 @@
1818
{
1919
"Name": "UnrealEnginePython",
2020
"Type": "Runtime",
21-
"LoadingPhase": "Default"
21+
"LoadingPhase": "PreDefault"
2222
},
2323
{
2424
"Name": "PythonConsole",

0 commit comments

Comments
 (0)