Browse Source

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

Lasse Öörni 11 years ago
parent
commit
7740bb5ee4
1 changed files with 0 additions and 2 deletions
  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)
 void AnimatedSprite2D::CalculateTimelineWorldTransform(unsigned index)