- Ifc: append GUID to node names to preserve them.
parent
6260221f0f
commit
2e6ad884bb
|
@ -599,7 +599,7 @@ aiNode* ProcessSpatialStructure(aiNode* parent, const IfcProduct& el, Conversion
|
||||||
|
|
||||||
// add an output node for this spatial structure
|
// add an output node for this spatial structure
|
||||||
std::auto_ptr<aiNode> nd(new aiNode());
|
std::auto_ptr<aiNode> nd(new aiNode());
|
||||||
nd->mName.Set(el.GetClassName()+"_"+(el.Name?el.Name:el.GlobalId));
|
nd->mName.Set(el.GetClassName()+"_"+(el.Name?el.Name.Get():"Unnamed")+"_"+el.GlobalId);
|
||||||
nd->mParent = parent;
|
nd->mParent = parent;
|
||||||
|
|
||||||
if(el.ObjectPlacement) {
|
if(el.ObjectPlacement) {
|
||||||
|
|
Loading…
Reference in New Issue