|
|
@ -149,9 +149,11 @@ public class ModifierHelper extends AbstractBlenderHelper { |
|
|
|
IpoHelper ipoHelper = blenderContext.getHelper(IpoHelper.class); |
|
|
|
IpoHelper ipoHelper = blenderContext.getHelper(IpoHelper.class); |
|
|
|
Structure ipoStructure = pIpo.fetchData(blenderContext.getInputStream()).get(0); |
|
|
|
Structure ipoStructure = pIpo.fetchData(blenderContext.getInputStream()).get(0); |
|
|
|
Ipo ipo = ipoHelper.fromIpoStructure(ipoStructure, blenderContext); |
|
|
|
Ipo ipo = ipoHelper.fromIpoStructure(ipoStructure, blenderContext); |
|
|
|
|
|
|
|
if(ipo != null) { |
|
|
|
result = new ObjectAnimationModifier(ipo, objectStructure.getName(), objectStructure.getOldMemoryAddress(), blenderContext); |
|
|
|
result = new ObjectAnimationModifier(ipo, objectStructure.getName(), objectStructure.getOldMemoryAddress(), blenderContext); |
|
|
|
blenderContext.addModifier(objectStructure.getOldMemoryAddress(), result); |
|
|
|
blenderContext.addModifier(objectStructure.getOldMemoryAddress(), result); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
return result; |
|
|
|
return result; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|