From b77c30e6d45aca7e2267e84c7ac5d993b833948a Mon Sep 17 00:00:00 2001 From: David Date: Wed, 19 Aug 2020 09:48:06 +0100 Subject: [PATCH] Moved sequencer include/dependency paths to editor only section to make packaging work. --- .../UnrealEnginePython.Build.cs | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/Source/UnrealEnginePython/UnrealEnginePython.Build.cs b/Source/UnrealEnginePython/UnrealEnginePython.Build.cs index 89f0e9dc4..a621ada49 100644 --- a/Source/UnrealEnginePython/UnrealEnginePython.Build.cs +++ b/Source/UnrealEnginePython/UnrealEnginePython.Build.cs @@ -113,7 +113,6 @@ public UnrealEnginePython(TargetInfo Target) PublicIncludePaths.AddRange( new string[] { - "Editor/Sequencer/Private", // ... add public include paths required here ... } ); @@ -132,7 +131,6 @@ public UnrealEnginePython(TargetInfo Target) "Core", "Sockets", "Networking", - "Sequencer" // ... add other public dependencies that you statically link with here ... } ); @@ -148,7 +146,6 @@ public UnrealEnginePython(TargetInfo Target) "SlateCore", "MovieScene", "LevelSequence", - "Sequencer", "HTTP", "UMG", "AppFramework", @@ -189,6 +186,20 @@ public UnrealEnginePython(TargetInfo Target) if (UEBuildConfiguration.bBuildEditor) #endif { + + PublicIncludePaths.AddRange( + new string[] { + "Editor/Sequencer/Private", + } + ); + + PublicDependencyModuleNames.AddRange( + new string[] + { + "Sequencer", + } + ); + PrivateDependencyModuleNames.AddRange(new string[]{ "UnrealEd", "LevelEditor",