ProjectNode's actiontimeline should jump to 0 frame when after nest into another csd

This commit is contained in:
geron-cn 2015-01-21 15:21:23 +08:00
parent 9f24b9a350
commit 2fc79e2da5
1 changed files with 2 additions and 0 deletions

View File

@ -843,6 +843,7 @@ Node* CSLoader::nodeWithFlatBuffers(const flatbuffers::NodeTree *nodetree)
if (action)
{
node->runAction(action);
action->gotoFrameAndPause(0);
}
}
@ -1172,6 +1173,7 @@ Node* CSLoader::nodeWithFlatBuffersForSimulator(const flatbuffers::NodeTree *nod
if (action)
{
node->runAction(action);
action->gotoFrameAndPause(0);
}
}
}