Hello,
I'm trying to constuct a heirachy made of SoWrapperKits. I want the user to
be able to add and remove objects from the heirchychy dynamicly, so instead
of doing setPart with "childList[ANumber]" I'm doing this:-
SoNodeKitListPart
*childList=(SoNodeKitListPart*)scene->getPart("childList",true);
SoNode* newChildNode=newChild->getScene();
childList->addChild(newChildNode);
where "scene" is a pointer to a SoWrapperKit. But when I add a second part it
replaces the first, instead of joing it as a sibling. Can anyone point out
what I'm doing wrong?
Thanks,
Graeme.
|