Skip to content

Commit 688c149

Browse files
author
Roberto De Ioris
committed
cleaned up amazing KNL stuff
1 parent afd8bbb commit 688c149

File tree

4 files changed

+3
-8
lines changed

4 files changed

+3
-8
lines changed

Source/PythonConsole/Private/PythonScriptFactory.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@
55

66
UPythonScriptFactory::UPythonScriptFactory(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) {
77

8-
#if !WITH_KNL_PYEXT
98
Formats.Add(FString("py;Python Script"));
10-
#endif
119

1210
bCreateNew = false;
1311
bEditAfterNew = true;

Source/UnrealEnginePython/Private/Slate/UEPyIStructureDetailsView.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ static PyObject *py_ue_istructure_details_view_set_structure_data(ue_PyIStructur
5858

5959
if (py_force_refresh && PyObject_IsTrue(py_force_refresh))
6060
{
61-
self->istructure_details_view->GetDetailsView().ForceRefresh();
61+
self->istructure_details_view->GetDetailsView()->ForceRefresh();
6262
}
6363

6464
Py_RETURN_NONE;

Source/UnrealEnginePython/UnrealEnginePython.Build.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ public class UnrealEnginePython : ModuleRules
1919

2020
private string[] windowsKnownPaths =
2121
{
22-
"../../../../../ThirdParty/Python3",
2322
"C:/Program Files/Python36",
2423
"C:/Program Files/Python35",
2524
"C:/Python27",
@@ -80,7 +79,6 @@ public UnrealEnginePython(ReadOnlyTargetRules Target) : base(Target)
8079
public UnrealEnginePython(TargetInfo Target)
8180
#endif
8281
{
83-
Definitions.Add("WITH_KNL_PYEXT=1");
8482

8583
PublicIncludePaths.AddRange(
8684
new string[] {

UnrealEnginePython.uplugin

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"Modules": [
1818
{
1919
"Name": "UnrealEnginePython",
20-
"Type": "Developer",
20+
"Type": "Runtime",
2121
"LoadingPhase": "Default"
2222
},
2323
{
@@ -36,6 +36,5 @@
3636
"Name": "LevelSequenceEditor",
3737
"Enabled": true
3838
}
39-
],
40-
"BlacklistTargets": ["Server"]
39+
]
4140
}

0 commit comments

Comments
 (0)