
There is absolutely nothing special about the age. I have only built a terrain and several items for it.
There is exactly one UV map used on the terrain (not the object in question).
The object is now simple (broke up the more complex version) with 204 vertexes. I've checked it over every way I can think of (removed dups, checked for complete point participation in faces, etc.) but I keep getting the error on it. I even tried deleting it and recreating it ... same results.
It seems to be complaining about "bone.weight" ... but I've got no bones in the model. Never even created and deleted one in it!
Console output from export ("Generate release") as follows:
- Code: Select all
[Visual Object Collector.Ring]
[LogicHelper]
No actions in list
None
Exporting modifiers
No modifiers
None
[Draw Interface Collector.Ring]
Traceback (most recent call last):
File "/home/latham/.blender/scripts/PyPRP/prp_Export.py", line 174, in open_file
export_age(agename,basepath,selection,merge)
File "/home/latham/.blender/scripts/PyPRP/prp_Export.py", line 88, in export_age
page.export_all(selection)
File "/home/latham/.blender/scripts/PyPRP/prp_ResManager.py", line 783, in export_all
plDrawInterface.Export(self,obj,scnobj,name,SceneNodeRef,isdynamic,softVolumeParser, water)
File "/home/latham/.blender/scripts/PyPRP/prp_DrawClasses.py", line 1576, in _Export
drawi.data.export_obj(obj,SceneNodeRef,isdynamic,softVolParser, water)
File "/home/latham/.blender/scripts/PyPRP/prp_DrawClasses.py", line 1731, in export_obj
bone,weight = mesh.getVertexInfluences(vector.index)
ValueError: need more than 1 value to unpack
And the answer is ...
Apparently vertex groups are not processed properly.
Even when I guaranteed that the vertex groups were all non-empty, I still got the error. Only when I removed all the vertex group names, did I get rid of the error.
Apparently, the code tries to determine a blending factor from vertex groups, and thus is looking for the "weights" assigned. I did not want to take the time to assign weights for texture blending (maybe further down the line), so it may work if you assign weights on all named vertex groups.
Still, when I get the time, I'll post this as a bug ... the code should protect itself against a lack of weights in a vertex group.