Sfoglia il codice sorgente

no more immediate dancing

Fabio Arnold 10 anni fa
parent
commit
7dff128626

+ 3 - 0
src/de/tudarmstadt/informatik/hostage/ui2/fragment/opengl/AnimatedMesh.java

@@ -62,10 +62,13 @@ public class AnimatedMesh {
 	public boolean isActionDone() {
 		if (currentAction == null)
 			return true;
+		return currentFrame <= 1 || currentFrame >= currentAction.numFrames - 1;
+		/*
 		if (reverseAction)
 			return currentFrame <= 0;
 		else
 			return currentFrame >= currentAction.numFrames - 1;
+			*/
 	}
 	
 	private class Bone {