Fix to loading object animation for Blender 2.62+ (found by 'reactlogic').

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9382 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
Kae..pl 13 years ago
parent 2cec3f82eb
commit f8771f437e
  1. 2
      engine/src/blender/com/jme3/scene/plugins/blender/animations/IpoHelper.java

@ -130,7 +130,7 @@ public class IpoHelper extends AbstractBlenderHelper {
if (rnaPath.endsWith("scale")) {
return Ipo.AC_SIZE_X + arrayIndex;
}
if (rnaPath.endsWith("rotation")) {
if (rnaPath.endsWith("rotation") || rnaPath.endsWith("rotation_euler")) {
return Ipo.OB_ROT_X + arrayIndex;
}
throw new IllegalStateException("Unknown curve rna path: " + rnaPath);

Loading…
Cancel
Save