mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-22 17:08:43 +00:00
Cleanup
This commit is contained in:
parent
20acc5a48c
commit
6b6f4fac2f
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