wjc272008 / jmonkeyengine

Automatically exported from code.google.com/p/jmonkeyengine
0 stars 0 forks source link

TestBlenderLoader fails to run #467

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run the example TestBlenderLoader

What is the expected output? What do you see instead?
The following exception is displayed:
java.lang.IllegalStateException: Object’s action cannot have more than one 
channel!
at 
com.jme3.scene.plugins.blender.modifiers.ModifierHelper.readAnimationModifier249
(ModifierHelper.java:152)
at 
com.jme3.scene.plugins.blender.modifiers.ModifierHelper.readModifiers(ModifierHe
lper.java:109)
at 
com.jme3.scene.plugins.blender.objects.ObjectHelper.toObject(ObjectHelper.java:1
67)
at 
com.jme3.scene.plugins.blender.AbstractBlenderLoader.toObject(AbstractBlenderLoa
der.java:134)
at com.jme3.scene.plugins.blender.BlenderLoader.toObject(BlenderLoader.java:70)
at 
com.jme3.scene.plugins.blender.BlenderModelLoader.load(BlenderModelLoader.java:6
3)
at 
com.jme3.scene.plugins.blender.BlenderModelLoader.load(BlenderModelLoader.java:4
9)
at com.jme3.asset.DesktopAssetManager.loadAsset(DesktopAssetManager.java:273)
at com.jme3.asset.DesktopAssetManager.loadModel(DesktopAssetManager.java:408)
at com.jme3.asset.DesktopAssetManager.loadModel(DesktopAssetManager.java:418)
at jme3test.blender.TestBlenderLoader.simpleInitApp(TestBlenderLoader.java:21)
at com.jme3.app.SimpleApplication.initialize(SimpleApplication.java:231)
at 
com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.jav
a:129)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:205)
at java.lang.Thread.run(Thread.java:662)

Original issue reported on code.google.com by ShadowIs...@gmail.com on 12 Feb 2012 at 9:44

GoogleCodeExporter commented 9 years ago
The model had actions, that were difining bones' animations, attached to the 
model. This is now moved to armature modifier loading and should cause no more 
problems.

Original comment by mrogu...@poczta.fm on 20 Jun 2012 at 2:49