PuG wrote:
Hi, im running the latest blender build from SVN with the collada exporter, when shunting over to horde sometimes im finding no mesh name is being (in the .scene.xml file) assigned after converting to geo:
Code:
<Mesh name=""
If the I export two objects from one blender scene then the second object has "_2" defined as a mesh name, which does then work aslong as I remove the other object definition from the scene xml file (because it has no name).
The blender DAE file appears fine. Any suggestions?
I have the same problem (Max 2009, opencollada). It seems that the converter doesn't know how to handle groups. Judging by the debug, on the convertmodel stage converter tries to get id and name from the node, that is a group of objects (nodes). That node doesn't have neither id, nor name. For example, in my scene I have a group named "plintus_grp", that has 3 objects - Plintus_1, Plintus_2, Plintus3. Only the last one gets the correct name. The first object gets "" as a name, and the second one gets "_2".
My suggestion is to check, if the name of the node is empty, before checkNodeName( oNode ); If empty, than take the name from oNode.daeInstance. Just my opinion, though))