ousttrue / pymeshio

3d model reader/writer for python
http://pypi.python.org/pypi/pymeshio/
92 stars 27 forks source link

maximum limit of 20 bone groups in an imported pmd or pmx model #36

Open Hogarth-MMD opened 8 years ago

Hogarth-MMD commented 8 years ago

If a pmx or pmd model has more than a maximum of 20 bone groups (display panel groups numbered 0 to 19 in PMD editor), the model can't be imported into Blender and Blender gives you an error message..

Hogarth-MMD commented 8 years ago

This is the error message which results from trying to import a model which has more than 20 display panel groups:

\bl.py", line 260, in createBoneGroup g.color_set=color_set TypeError: bpy_struct: item.attr = val: enum "THEME21" not found in ('DEFAULT','THEME01', 'THEME02', 'THEME03', 'THEME04', 'THEME05', 'THEME06', 'THEME07', 'THEME08', 'THEME09', 'THEME10', 'THEME11', 'THEME12', 'THEME13', 'THEME14', 'THEME15', 'THEME16', 'THEME17', 'T)

location: :-1