Переглянути джерело

Add Atomic Begin/Atomic End change block, add a comment about the change

Josh Engebretson 9 роки тому
батько
коміт
d3f105ea6b
1 змінених файлів з 7 додано та 0 видалено
  1. 7 0
      Source/Atomic/Graphics/AnimatedModel.cpp

+ 7 - 0
Source/Atomic/Graphics/AnimatedModel.cpp

@@ -1364,6 +1364,13 @@ void AnimatedModel::UpdateAnimation(const FrameInfo& frame)
     // (first AnimatedModel in a node)
     if (isMaster_)
     {
+
+        // ATOMIC BEGIN
+        // Do not reset the skeleton as this is causing some visual artifacts with transitions
+        // TODO: a reproduction case?  Perhaps this is an issue with specific exports/bone animations?
+        // skeleton_.ResetSilent();
+        // ATOMIC END
+
         for (Vector<SharedPtr<AnimationState> >::Iterator i = animationStates_.Begin(); i != animationStates_.End(); ++i)
             (*i)->Apply();