From b17d5d370659ae1666355cc54c0f7ac8b69e47be Mon Sep 17 00:00:00 2001 From: "Kae..pl" Date: Thu, 24 Mar 2011 10:32:09 +0000 Subject: [PATCH] Bugfix: missing break might have caused problems with curves interpolations. git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7099 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/core/com/jme3/math/Spline.java | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/src/core/com/jme3/math/Spline.java b/engine/src/core/com/jme3/math/Spline.java index 581acfd2e..4779a1d19 100644 --- a/engine/src/core/com/jme3/math/Spline.java +++ b/engine/src/core/com/jme3/math/Spline.java @@ -265,6 +265,7 @@ public class Spline implements Savable { break; case Bezier: FastMath.interpolateBezier(value, controlPoints.get(currentControlPoint), controlPoints.get(currentControlPoint + 1), controlPoints.get(currentControlPoint + 2), controlPoints.get(currentControlPoint + 3), store); + break; case Nurb: CurveAndSurfaceMath.interpolateNurbs(value, this, store); break;