소스 검색

Minor updates.

NathanSweet 12 년 전
부모
커밋
2bee31ad2a
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      spine-cocos2dx/src/spine/CCSkeleton.h
  2. 2 2
      spine-libgdx/src/com/esotericsoftware/spine/SkeletonJson.java

+ 1 - 1
spine-cocos2dx/src/spine/CCSkeleton.h

@@ -60,7 +60,7 @@ public:
 
 protected:
 	CCSkeleton ();
-	void CCSkeleton::setSkeletonData (SkeletonData *skeletonData, bool ownsSkeletonData);
+	void setSkeletonData (SkeletonData *skeletonData, bool ownsSkeletonData);
 
 private:
 	bool ownsSkeletonData;

+ 2 - 2
spine-libgdx/src/com/esotericsoftware/spine/SkeletonJson.java

@@ -222,7 +222,7 @@ public class SkeletonJson {
 					duration = Math.max(duration, timeline.getFrames()[timeline.getFrameCount() * 3 - 3]);
 
 				} 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]);
 
 				} 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() + ")");
 			}
 		}