@@ -751,9 +751,9 @@ PyObject *py_ue_sequencer_section_add_key(ue_PyUObject *self, PyObject * args)
751751 section_transform->AddKey (time, ty, (EMovieSceneKeyInterpolation)interpolation);
752752 section_transform->AddKey (time, tz, (EMovieSceneKeyInterpolation)interpolation);
753753
754- FTransformKey rx = FTransformKey (EKey3DTransformChannel::Rotation, EAxis::X, transform.GetRotation ().X , unwind);
755- FTransformKey ry = FTransformKey (EKey3DTransformChannel::Rotation, EAxis::Y, transform.GetRotation ().Y , unwind);
756- FTransformKey rz = FTransformKey (EKey3DTransformChannel::Rotation, EAxis::Z, transform.GetRotation ().Z , unwind);
754+ FTransformKey rx = FTransformKey (EKey3DTransformChannel::Rotation, EAxis::X, transform.Rotator ().Roll , unwind);
755+ FTransformKey ry = FTransformKey (EKey3DTransformChannel::Rotation, EAxis::Y, transform.Rotator ().Pitch , unwind);
756+ FTransformKey rz = FTransformKey (EKey3DTransformChannel::Rotation, EAxis::Z, transform.Rotator ().Yaw , unwind);
757757 section_transform->AddKey (time, rx, (EMovieSceneKeyInterpolation)interpolation);
758758 section_transform->AddKey (time, ry, (EMovieSceneKeyInterpolation)interpolation);
759759 section_transform->AddKey (time, rz, (EMovieSceneKeyInterpolation)interpolation);
0 commit comments