NathanSweet hace 12 años
padre
commit
7f73966738
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      spine-js/spine.js

+ 1 - 1
spine-js/spine.js

@@ -387,7 +387,7 @@ spine.ColorTimeline = function (frameCount) {
 spine.ColorTimeline.prototype = {
 spine.ColorTimeline.prototype = {
 	slotIndex: 0,
 	slotIndex: 0,
 	getFrameCount: function () {
 	getFrameCount: function () {
-		return this.frames.length / 2;
+		return this.frames.length / 5;
 	},
 	},
 	setFrame: function (frameIndex, time, r, g, b, a) {
 	setFrame: function (frameIndex, time, r, g, b, a) {
 		frameIndex *= 5;
 		frameIndex *= 5;