Skip to content

Commit

Permalink
fixed support for 4.12
Browse files Browse the repository at this point in the history
  • Loading branch information
Roberto De Ioris committed Apr 24, 2017
1 parent 345ae37 commit 2deec73
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Source/UnrealEnginePython/Private/UEPySequencer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2deec73

Please sign in to comment.