From 2deec73a3de52bba665dc3c04903a1904bf1af14 Mon Sep 17 00:00:00 2001 From: Roberto De Ioris Date: Mon, 24 Apr 2017 21:53:50 +0200 Subject: [PATCH] fixed support for 4.12 --- Source/UnrealEnginePython/Private/UEPySequencer.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/UnrealEnginePython/Private/UEPySequencer.cpp b/Source/UnrealEnginePython/Private/UEPySequencer.cpp index 4833878ab..3c0e6c10b 100644 --- a/Source/UnrealEnginePython/Private/UEPySequencer.cpp +++ b/Source/UnrealEnginePython/Private/UEPySequencer.cpp @@ -48,7 +48,12 @@ PyObject *py_ue_sequencer_changed(ue_PyUObject *self, PyObject * args) { if (editor) { FLevelSequenceEditorToolkit *toolkit = (FLevelSequenceEditorToolkit *)editor; ISequencer *sequencer = toolkit->GetSequencer().Get(); +#if EDITOR_MINOR_VERSION < 14 + sequencer->NotifyMovieSceneDataChanged(); +#else sequencer->NotifyMovieSceneDataChanged(EMovieSceneDataChangeType::Unknown); +#endif + } Py_INCREF(Py_None);