Преглед на файлове

Merge pull request #628 from seanpaultaylor/next

Next
Sean Paul Taylor преди 13 години
родител
ревизия
e0e041a7eb
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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)
 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)
     : _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 the animation because a newly created animation has a ref count of 1 and the channels hold the ref to animation.
     release();
     release();