- fix Ray vars unlocking

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7149 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 14 years ago
parent 3c10d7c16b
commit 2267d5ff1f
  1. 1
      engine/src/core/com/jme3/math/Ray.java

@ -231,6 +231,7 @@ public final class Ray implements Savable, Cloneable, Collidable {
dirDotNorm = -dirDotNorm; dirDotNorm = -dirDotNorm;
} else { } else {
// ray and triangle/quad are parallel // ray and triangle/quad are parallel
assert vars.unlock();
return false; return false;
} }

Loading…
Cancel
Save