Skip to content

Commit 581a279

Browse files
author
Roberto De Ioris
committed
first round of backports
1 parent 688c149 commit 581a279

9 files changed

Lines changed: 19 additions & 2 deletions

File tree

Source/UnrealEnginePython/Private/PyActor.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 20Tab S.r.l.
2+
13
#include "UnrealEnginePythonPrivatePCH.h"
24
#include "PyActor.h"
35

Source/UnrealEnginePython/Private/PyCharacter.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 20Tab S.r.l.
2+
13
#include "UnrealEnginePythonPrivatePCH.h"
24
#include "PyCharacter.h"
35

Source/UnrealEnginePython/Private/PyCommandlet.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 20Tab S.r.l.
2+
13
#include "UnrealEnginePythonPrivatePCH.h"
24
#include "PyCommandlet.h"
35

Source/UnrealEnginePython/Private/Slate/UEPySGraphPanel.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include "UnrealEnginePython.h"
44

55
#if WITH_EDITOR
6+
#if ENGINE_MINOR_VERSION > 12
67
#include "UEPySNodePanel.h"
78

89
#include "Editor/GraphEditor/Public/SGraphPanel.h"
@@ -16,4 +17,5 @@ typedef struct {
1617

1718

1819
void ue_python_init_sgraph_panel(PyObject *);
20+
#endif
1921
#endif

Source/UnrealEnginePython/Private/UEPyEngine.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 20Tab S.r.l.
2+
13
#include "UnrealEnginePythonPrivatePCH.h"
24

35
#include "Kismet/KismetSystemLibrary.h"

Source/UnrealEnginePython/Private/UEPyTicker.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 20Tab S.r.l.
2+
13
#pragma once
24

35
#include "UnrealEnginePython.h"

Source/UnrealEnginePython/Private/Wrappers/UEPyFMorphTargetDelta.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#pragma once
22
#include "UnrealEnginePython.h"
33

4+
#if ENGINE_MINOR_VERSION > 12
5+
46
#include "Runtime/Engine/Classes/Animation/MorphTarget.h"
57

68
struct ue_PyFMorphTargetDelta {
@@ -14,3 +16,4 @@ void ue_python_init_fmorph_target_delta(PyObject *);
1416
PyObject *py_ue_new_fmorph_target_delta(FMorphTargetDelta);
1517

1618
ue_PyFMorphTargetDelta *py_ue_is_fmorph_target_delta(PyObject *);
19+
#endif

Source/UnrealEnginePython/Public/PyNativeWidgetHost.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22

33
#pragma once
44

5-
#include "CoreMinimal.h"
5+
#include "UnrealEnginePython.h"
66
#include "Components/NativeWidgetHost.h"
77
#include "PyNativeWidgetHost.generated.h"
88

9+
910
USTRUCT(BlueprintType)
1011
struct UNREALENGINEPYTHON_API FPythonSWidgetWrapper
1112
{
@@ -39,3 +40,4 @@ class UNREALENGINEPYTHON_API UPyNativeWidgetHost : public UNativeWidgetHost
3940
#endif
4041

4142
};
43+

Source/UnrealEnginePython/Public/PythonScript.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#pragma once
22

3-
#include "CoreMinimal.h"
3+
#include "UnrealEnginePython.h"
44
#include "UObject/Object.h"
55
#include "PythonScript.generated.h"
66

0 commit comments

Comments
 (0)