From 1e2e6f6a2da02f5a27187894f76e089d65a8ea4a Mon Sep 17 00:00:00 2001 From: "Kae..pl" Date: Tue, 19 Jul 2011 12:11:43 +0000 Subject: [PATCH] Fix to armature modifier loading. git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7884 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../jme3/scene/plugins/blender/helpers/v249/ModifierHelper.java | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/src/blender/com/jme3/scene/plugins/blender/helpers/v249/ModifierHelper.java b/engine/src/blender/com/jme3/scene/plugins/blender/helpers/v249/ModifierHelper.java index 312909625..dd9a038a5 100644 --- a/engine/src/blender/com/jme3/scene/plugins/blender/helpers/v249/ModifierHelper.java +++ b/engine/src/blender/com/jme3/scene/plugins/blender/helpers/v249/ModifierHelper.java @@ -232,6 +232,7 @@ public class ModifierHelper extends AbstractBlenderHelper { Structure armatureObject = (Structure) dataRepository.getLoadedFeature(pArmatureObject.getOldMemoryAddress(), LoadedFeatureDataType.LOADED_STRUCTURE); if (armatureObject == null) {// we check this first not to fetch the structure unnecessary armatureObject = pArmatureObject.fetchData(dataRepository.getInputStream()).get(0); + objectHelper.toObject(armatureObject, dataRepository); } modifierAdditionalData = armatureObject.getOldMemoryAddress(); ArmatureHelper armatureHelper = dataRepository.getHelper(ArmatureHelper.class);