Skip to content

Commit ff3d43b

Browse files
author
Roberto De Ioris
committed
backported to 4.15
1 parent 8681a48 commit ff3d43b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Source/UnrealEnginePython/Private/UEPyEditor.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2371,7 +2371,9 @@ PyObject *py_unreal_engine_export_assets(PyObject * self, PyObject * args)
23712371
Py_DECREF(py_iter);
23722372

23732373
FAssetToolsModule& AssetToolsModule = FModuleManager::LoadModuleChecked<FAssetToolsModule>("AssetTools");
2374+
#if ENGINE_MINOR_VERSION > 15
23742375
AssetToolsModule.Get().ExportAssets(UObjects, FString(UTF8_TO_TCHAR(filename)));
2376+
#endif
23752377

23762378
Py_RETURN_NONE;
23772379
}

Source/UnrealEnginePython/Private/UObject/UEPyCapture.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,9 @@ struct FInEditorMultiCapture : TSharedFromThis<FInEditorMultiCapture>
133133
.AutoCenter(EAutoCenter::PrimaryWorkArea)
134134
.UseOSWindowBorder(true)
135135
.FocusWhenFirstShown(false)
136+
#if ENGINE_MINOR_VERSION > 15
136137
.ActivationPolicy(EWindowActivationPolicy::Never)
138+
#endif
137139
.HasCloseButton(true)
138140
.SupportsMaximize(false)
139141
.SupportsMinimize(true)
@@ -151,8 +153,8 @@ struct FInEditorMultiCapture : TSharedFromThis<FInEditorMultiCapture>
151153
PlayInEditorSettings->ViewportGetsHMDControl = false;
152154
#if ENGINE_MINOR_VERSION >= 17
153155
PlayInEditorSettings->ShouldMinimizeEditorOnVRPIE = true;
154-
#endif
155156
PlayInEditorSettings->EnableGameSound = false;
157+
#endif
156158
PlayInEditorSettings->bOnlyLoadVisibleLevelsInPIE = false;
157159
PlayInEditorSettings->bPreferToStreamLevelsInPIE = false;
158160
PlayInEditorSettings->PIEAlwaysOnTop = false;

0 commit comments

Comments
 (0)