Skip to content

Commit

Permalink
[cocos2d-x] Call Node::update in SkeletonRenderer. Closes #960
Browse files Browse the repository at this point in the history
  • Loading branch information
badlogic committed Aug 3, 2017
1 parent 5d8b1b4 commit f7bb981
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spine-cocos2dx/src/spine/SkeletonRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ void SkeletonRenderer::initWithBinaryFile (const std::string& skeletonDataFile,


void SkeletonRenderer::update (float deltaTime) {
Node::update(deltaTime);
spSkeleton_update(_skeleton, deltaTime * _timeScale);
}

Expand Down

0 comments on commit f7bb981

Please sign in to comment.