Kaynağa Gözat

Do not call MarkForUpdate() in AnimatedSprite2D, as Drawable2D's are not added to the octree.

Lasse Öörni 11 yıl önce
ebeveyn
işleme
7740bb5ee4
1 değiştirilmiş dosya ile 0 ekleme ve 2 silme
  1. 0 2
      Source/Urho3D/Urho2D/AnimatedSprite2D.cpp

+ 0 - 2
Source/Urho3D/Urho2D/AnimatedSprite2D.cpp

@@ -465,8 +465,6 @@ void AnimatedSprite2D::UpdateAnimation(float timeStep)
             }
         }
     }
-
-    MarkForUpdate();
 }
 
 void AnimatedSprite2D::CalculateTimelineWorldTransform(unsigned index)