mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-27 20:21:24 +08:00
Minor updates.
This commit is contained in:
parent
71a8751794
commit
2bee31ad2a
@ -60,7 +60,7 @@ public:
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
CCSkeleton ();
|
CCSkeleton ();
|
||||||
void CCSkeleton::setSkeletonData (SkeletonData *skeletonData, bool ownsSkeletonData);
|
void setSkeletonData (SkeletonData *skeletonData, bool ownsSkeletonData);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool ownsSkeletonData;
|
bool ownsSkeletonData;
|
||||||
|
|||||||
@ -222,7 +222,7 @@ public class SkeletonJson {
|
|||||||
duration = Math.max(duration, timeline.getFrames()[timeline.getFrameCount() * 3 - 3]);
|
duration = Math.max(duration, timeline.getFrames()[timeline.getFrameCount() * 3 - 3]);
|
||||||
|
|
||||||
} else
|
} else
|
||||||
throw new RuntimeException("Invalid timeline type for a bone: " + timelineName + " (" + timelineMap.name() + ")");
|
throw new RuntimeException("Invalid timeline type for a bone: " + timelineName + " (" + boneMap.name() + ")");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -259,7 +259,7 @@ public class SkeletonJson {
|
|||||||
duration = Math.max(duration, timeline.getFrames()[timeline.getFrameCount() - 1]);
|
duration = Math.max(duration, timeline.getFrames()[timeline.getFrameCount() - 1]);
|
||||||
|
|
||||||
} else
|
} else
|
||||||
throw new RuntimeException("Invalid timeline type for a slot: " + timelineName + " (" + timelineMap.name() + ")");
|
throw new RuntimeException("Invalid timeline type for a slot: " + timelineName + " (" + slotMap.name() + ")");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user