Przeglądaj źródła

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

NathanSweet 12 lat temu
rodzic
commit
51a0876561
1 zmienionych plików z 1 dodań i 0 usunięć
  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),