Jelajahi Sumber

Merge pull request #628 from seanpaultaylor/next

Next
Sean Paul Taylor 13 tahun lalu
induk
melakukan
e0e041a7eb
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      gameplay/src/Animation.cpp

+ 1 - 1
gameplay/src/Animation.cpp

@@ -18,7 +18,7 @@ namespace gameplay
 Animation::Animation(const char* id, AnimationTarget* target, int propertyId, unsigned int keyCount, unsigned int* keyTimes, float* keyValues, unsigned int type)
     : _controller(Game::getInstance()->getAnimationController()), _id(id), _duration(0L), _defaultClip(NULL), _clips(NULL)
 {
-    createChannel(target, propertyId, keyCount, keyTimes, keyValues, type);
+    createChannel(target, propertyId, keyCount, keyTimes, keyValues, type);
 
     // Release the animation because a newly created animation has a ref count of 1 and the channels hold the ref to animation.
     release();