Hi Andreas,
Hi Andreas!
On Tuesday 22 March 2005 16:23, Andreas Zieringer wrote:
yes you are right, many thanks for the report I fixed it.
Andreas
Hello,
I think there is something wrong in OSGNode.cpp
In some functions there is something like :
if(childP->getParent() != NullFC)
{
beginEditCP(childP, Node::ChildrenFieldMask);
childP->getParent()->subChild(childP);
endEditCP(childP, Node::ChildrenFieldMask);
}
I think it should be like this :
if(childP->getParent() != NullFC)
{
beginEditCP(childP->getParent(), Node::ChildrenFieldMask);
childP->getParent()->subChild(childP);
endEditCP(childP->getParent(), Node::ChildrenFieldMask);
}
Ouch, no.... the getParent will crash in the endEditCP if the node is no
longer referenced...
no that's ok we are doing a addRefCP(childP) before.
Andreas
-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users