Forráskód Böngészése

Added call to update so it is called before the first draw.

NathanSweet 12 éve
szülő
commit
51a0876561
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      spine-cocos2dx/example/Classes/ExampleLayer.cpp

+ 1 - 0
spine-cocos2dx/example/Classes/ExampleLayer.cpp

@@ -31,6 +31,7 @@ bool ExampleLayer::init () {
 
 	// skeletonNode->timeScale = 0.3f;
 	skeletonNode->debugBones = true;
+	skeletonNode->update(0);
 
 	skeletonNode->runAction(CCRepeatForever::create(CCSequence::create(CCFadeOut::create(1),
 		CCFadeIn::create(1),