Skip to content
Snippets Groups Projects
Commit 3c655633 authored by Shon Ferguson's avatar Shon Ferguson
Browse files

Fixed description of NiNode child order fix in comment.

parent ffdac913
No related branches found
No related tags found
No related merge requests found
......@@ -66,8 +66,9 @@ void NiNode::AddChild( Ref<NiAVObject> obj ) {
}
obj->SetParent( this );
//Sometimes NiTriBasedGeom with skins can be siblings of NiNodes that
//represent joints for that same skin. This is not allowed, so we have
//to prevent it by always adding NiTriBasedGeom to the begining of the child list.
//represent joints for that same skin. When this is the case, NiTriBasedGeom
//must com first, so we enforce that by always adding NiTriBasedGeom to the
//begining of the child list.
NiTriBasedGeomRef niGeom = DynamicCast<NiTriBasedGeom>(obj);
if ( niGeom != NULL ) {
//This is a NiTriBasedGeom, so shift all children to the right
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment