mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-29 20:30:54 +00:00
Cleanup
This commit is contained in:
parent
f49e9c5df1
commit
9061eb8389
2 changed files with 5 additions and 5 deletions
|
@ -508,14 +508,13 @@ std::string CExportNel::getName (MtlBase& mtl)
|
|||
// --------------------------------------------------
|
||||
|
||||
// Get the node name
|
||||
std::string CExportNel::getName (INode& mtl)
|
||||
std::string CExportNel::getName(INode& node)
|
||||
{
|
||||
// Return its name
|
||||
TCHAR* name=mtl.GetName();
|
||||
return std::string (name);
|
||||
MCHAR* name = node.GetName();
|
||||
return std::string(name);
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------
|
||||
|
||||
// Get the NEL node name
|
||||
|
|
|
@ -363,7 +363,8 @@ void CExportNel::buildSkeleton (std::vector<CBoneBase>& bonesArray, INode& node,
|
|||
bonesArray.push_back (bone);
|
||||
|
||||
// **** Call on child
|
||||
for (int children=0; children<node.NumberOfChildren(); children++)
|
||||
const int numChildren = node.NumberOfChildren();
|
||||
for (int children=0; children<numChildren; children++)
|
||||
buildSkeleton (bonesArray, *node.GetChildNode(children), mapBindPos, mapId, nameSet, time, ++idCount, id);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue