From f8771f437e5942aa58231f37a1b30dfe5955b7c5 Mon Sep 17 00:00:00 2001 From: "Kae..pl" Date: Sun, 13 May 2012 14:49:50 +0000 Subject: [PATCH] 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 --- .../com/jme3/scene/plugins/blender/animations/IpoHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/blender/com/jme3/scene/plugins/blender/animations/IpoHelper.java b/engine/src/blender/com/jme3/scene/plugins/blender/animations/IpoHelper.java index ea0a20791..19867bd5f 100644 --- a/engine/src/blender/com/jme3/scene/plugins/blender/animations/IpoHelper.java +++ b/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);