mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-07 03:06:55 +08:00
[cpp] Fix local var hidden warning.
This commit is contained in:
parent
f1d6515e26
commit
f07d4c3c65
@ -1164,7 +1164,7 @@ Animation *SkeletonJson::readAnimation(Json *root, SkeletonData *skeletonData) {
|
|||||||
timelines.add(readTimeline(timelineMap->_child, timeline, 0, 1));
|
timelines.add(readTimeline(timelineMap->_child, timeline, 0, 1));
|
||||||
} else if (strcmp(timelineMap->_name, "inherit") == 0) {
|
} else if (strcmp(timelineMap->_name, "inherit") == 0) {
|
||||||
InheritTimeline *timeline = new (__FILE__, __LINE__) InheritTimeline(frames, boneIndex);
|
InheritTimeline *timeline = new (__FILE__, __LINE__) InheritTimeline(frames, boneIndex);
|
||||||
Json *keyMap = timelineMap->_child;
|
keyMap = timelineMap->_child;
|
||||||
for (frame = 0;; frame++) {
|
for (frame = 0;; frame++) {
|
||||||
float time = Json::getFloat(keyMap, "time", 0);
|
float time = Json::getFloat(keyMap, "time", 0);
|
||||||
const char *value = Json::getString(keyMap, "value", "normal");
|
const char *value = Json::getString(keyMap, "value", "normal");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user