3DS: Pass name to Node constructor
parent
56a19ac492
commit
6c23b57208
|
@ -686,8 +686,7 @@ void Discreet3DSImporter::ParseHierarchyChunk(uint16_t parent)
|
||||||
pcNode->mInstanceCount++;
|
pcNode->mInstanceCount++;
|
||||||
instanceNumber = pcNode->mInstanceCount;
|
instanceNumber = pcNode->mInstanceCount;
|
||||||
}
|
}
|
||||||
pcNode = new D3DS::Node();
|
pcNode = new D3DS::Node(name);
|
||||||
pcNode->mName = name;
|
|
||||||
pcNode->mInstanceNumber = instanceNumber;
|
pcNode->mInstanceNumber = instanceNumber;
|
||||||
|
|
||||||
// There are two unknown values which we can safely ignore
|
// There are two unknown values which we can safely ignore
|
||||||
|
|
Loading…
Reference in New Issue