瀏覽代碼

Merge pull request #2242 from lieff/master

fix multiple iterator advancement
Yao Wei Tjong 8 年之前
父節點
當前提交
44d654c1e6
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      Source/Urho3D/Scene/Animatable.cpp

+ 0 - 2
Source/Urho3D/Scene/Animatable.cpp

@@ -171,8 +171,6 @@ bool Animatable::LoadJSON(const JSONValue& source)
 
 
         float speed = value.Get("speed").GetFloat();
         float speed = value.Get("speed").GetFloat();
         SetAttributeAnimation(name, attributeAnimation, wrapMode, speed);
         SetAttributeAnimation(name, attributeAnimation, wrapMode, speed);
-
-        it++;
     }
     }
 
 
     return true;
     return true;