MrSanti / blender-smd

Automatically exported from code.google.com/p/blender-smd
0 stars 0 forks source link

bone import has got errors #12

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. import test.smd in blender

What is the expected output? What do you see instead?

Expected output, please see attached file mlksh.JPG.
This file was loaded in milkshape 3d. Instead I see blnd.jpg

What version of the product are you using? On what operating system?

blender 2.56 beta
milkshape 3d 1.8.5 beta
io_smd_tools-0111
OS: XP SP3

Please provide any additional information below.

console output:

        bpy.utils.addon_enable io_smd_tools

SMD IMPORTER: now working on test
- This is a mesh
- Imported 200 new bones
Traceback (most recent call last):
  File "C:\DOCUME~1\SVENNI~1\MYDOCU~1\DOWNLO~1\BLENDE~1.56-\2.56\scripts\addons\
io_smd_tools.py", line 1712, in execute
    readSMD(context, self.properties.filepath, self.properties.upAxis, self.prop
erties.connectBones, append=self.properties.append)
  File "C:\DOCUME~1\SVENNI~1\MYDOCU~1\DOWNLO~1\BLENDE~1.56-\2.56\scripts\addons\
io_smd_tools.py", line 1665, in readSMD
    if line == "skeleton\n": readFrames()
  File "C:\DOCUME~1\SVENNI~1\MYDOCU~1\DOWNLO~1\BLENDE~1.56-\2.56\scripts\addons\
io_smd_tools.py", line 807, in readFrames
    applyFrameDataRest(smd.frameData[0])
  File "C:\DOCUME~1\SVENNI~1\MYDOCU~1\DOWNLO~1\BLENDE~1.56-\2.56\scripts\addons\
io_smd_tools.py", line 1053, in applyFrameDataRest
    smd_pos = frameData[boneName]['pos']
KeyError: 'None'

Original issue reported on code.google.com by leiferik...@googlemail.com on 23 Jan 2011 at 8:08

GoogleCodeExporter commented 8 years ago
This in an error in your SMD, but the importer handles it now. Get 0.11.2 for 
the changes.

(BTW, studiomdl won't compile more than 128 bones...)

Original comment by cont...@steamreview.org on 23 Jan 2011 at 11:15