소스 검색

[ts] Fixed curve parsing in SkeletonJson. Closes #1537.

badlogic 5 년 전
부모
커밋
5eb76df99f

+ 1 - 1
spine-ts/build/spine-all.js

@@ -6147,7 +6147,7 @@ var spine;
 			skeletonData.animations.push(new spine.Animation(name, timelines, duration));
 		};
 		SkeletonJson.prototype.readCurve = function (map, timeline, frameIndex) {
-			if (!map.curve)
+			if (!map.hasOwnProperty("curve"))
 				return;
 			if (map.curve == "stepped")
 				timeline.setStepped(frameIndex);

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
spine-ts/build/spine-all.js.map


+ 1 - 1
spine-ts/build/spine-canvas.js

@@ -6147,7 +6147,7 @@ var spine;
 			skeletonData.animations.push(new spine.Animation(name, timelines, duration));
 		};
 		SkeletonJson.prototype.readCurve = function (map, timeline, frameIndex) {
-			if (!map.curve)
+			if (!map.hasOwnProperty("curve"))
 				return;
 			if (map.curve == "stepped")
 				timeline.setStepped(frameIndex);

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
spine-ts/build/spine-canvas.js.map


+ 1 - 1
spine-ts/build/spine-core.js

@@ -6147,7 +6147,7 @@ var spine;
 			skeletonData.animations.push(new spine.Animation(name, timelines, duration));
 		};
 		SkeletonJson.prototype.readCurve = function (map, timeline, frameIndex) {
-			if (!map.curve)
+			if (!map.hasOwnProperty("curve"))
 				return;
 			if (map.curve == "stepped")
 				timeline.setStepped(frameIndex);

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
spine-ts/build/spine-core.js.map


+ 1 - 1
spine-ts/build/spine-player.js

@@ -6147,7 +6147,7 @@ var spine;
 			skeletonData.animations.push(new spine.Animation(name, timelines, duration));
 		};
 		SkeletonJson.prototype.readCurve = function (map, timeline, frameIndex) {
-			if (!map.curve)
+			if (!map.hasOwnProperty("curve"))
 				return;
 			if (map.curve == "stepped")
 				timeline.setStepped(frameIndex);

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
spine-ts/build/spine-player.js.map


+ 1 - 1
spine-ts/build/spine-threejs.js

@@ -6147,7 +6147,7 @@ var spine;
 			skeletonData.animations.push(new spine.Animation(name, timelines, duration));
 		};
 		SkeletonJson.prototype.readCurve = function (map, timeline, frameIndex) {
-			if (!map.curve)
+			if (!map.hasOwnProperty("curve"))
 				return;
 			if (map.curve == "stepped")
 				timeline.setStepped(frameIndex);

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
spine-ts/build/spine-threejs.js.map


+ 1 - 1
spine-ts/build/spine-webgl.js

@@ -6147,7 +6147,7 @@ var spine;
 			skeletonData.animations.push(new spine.Animation(name, timelines, duration));
 		};
 		SkeletonJson.prototype.readCurve = function (map, timeline, frameIndex) {
-			if (!map.curve)
+			if (!map.hasOwnProperty("curve"))
 				return;
 			if (map.curve == "stepped")
 				timeline.setStepped(frameIndex);

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
spine-ts/build/spine-webgl.js.map


+ 1 - 1
spine-ts/core/src/SkeletonJson.ts

@@ -784,7 +784,7 @@ module spine {
 		}
 
 		readCurve (map: any, timeline: CurveTimeline, frameIndex: number) {
-			if (!map.curve) return;
+			if (!map.hasOwnProperty("curve")) return;
 			if (map.curve == "stepped")
 				timeline.setStepped(frameIndex);
 			else {

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.