3838#else
3939#include " Editor/UnrealEd/Public/FbxImporter.h"
4040#endif
41- #include " Editor/MovieSceneTools/Public/MatineeImportTools.h"
4241#endif
4342
4443#include " GameFramework/Actor.h"
@@ -824,7 +823,7 @@ PyObject *py_ue_sequencer_create_folder(ue_PyUObject *self, PyObject * args)
824823 else
825824 {
826825 scene->Modify ();
827- scene->GetRootFolders (). Add (new_folder);
826+ scene->AddRootFolder (new_folder);
828827 }
829828
830829 Py_RETURN_UOBJECT (new_folder);
@@ -1196,6 +1195,7 @@ PyObject *py_ue_sequencer_section_add_key(ue_PyUObject *self, PyObject * args)
11961195 Py_DECREF (f_value);
11971196#if !(ENGINE_MAJOR_VERSION == 5 || (ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION >= 20))
11981197 section_float->AddKey (time, value, (EMovieSceneKeyInterpolation)interpolation);
1198+ Py_RETURN_NONE;
11991199#else
12001200 FMovieSceneFloatChannel& Channel = (FMovieSceneFloatChannel&)section_float->GetChannel ();
12011201 int32 RetValue = -1 ;
@@ -1220,7 +1220,7 @@ PyObject *py_ue_sequencer_section_add_key(ue_PyUObject *self, PyObject * args)
12201220 }
12211221 return PyLong_FromLong (RetValue);
12221222#endif
1223- Py_RETURN_NONE;
1223+
12241224 }
12251225 }
12261226
@@ -1233,12 +1233,13 @@ PyObject *py_ue_sequencer_section_add_key(ue_PyUObject *self, PyObject * args)
12331233 value = true ;
12341234#if !(ENGINE_MAJOR_VERSION == 5 || (ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION >= 20))
12351235 section_bool->AddKey (time, value, (EMovieSceneKeyInterpolation)interpolation);
1236+ Py_RETURN_NONE;
12361237#else
12371238 FMovieSceneBoolChannel& Channel = section_bool->GetChannel ();
12381239 int32 RetValue = Channel.GetData ().AddKey (FrameNumber, value);
12391240 return PyLong_FromLong (RetValue);
12401241#endif
1241- Py_RETURN_NONE;
1242+
12421243 }
12431244 }
12441245
@@ -1368,6 +1369,7 @@ PyObject *py_ue_sequencer_section_add_key(ue_PyUObject *self, PyObject * args)
13681369 section_vector->AddKey (time, vx, (EMovieSceneKeyInterpolation)interpolation);
13691370 section_vector->AddKey (time, vy, (EMovieSceneKeyInterpolation)interpolation);
13701371 section_vector->AddKey (time, vz, (EMovieSceneKeyInterpolation)interpolation);
1372+ Py_RETURN_NONE;
13711373#else
13721374 int RetValueVX, RetValueVY, RetValueVZ = -1 ;
13731375
@@ -1406,8 +1408,6 @@ PyObject *py_ue_sequencer_section_add_key(ue_PyUObject *self, PyObject * args)
14061408 }
14071409 return Py_BuildValue (" (iii)" , RetValueVX, RetValueVY, RetValueVZ);
14081410#endif
1409-
1410- Py_RETURN_NONE;
14111411}
14121412 }
14131413
0 commit comments