Hi dirk and all opensg users,
i have a small question for ya:
I keep a small library of osg::nodeptr which I never display on screen.
I just keep 'em as a database to be cloned as I need one instance of them
to be displayed.
I expect that when I call for a node->clone, the memory allocated won't jump
Up too much as, if I am not misunderstood, most of the display lists are
shared.
On the contrary, everytime I select a node for cloning and add to the scene,
my app's memory raise as if I've deep cloned the node.
Now here is my doubt:
If I clone a node that I've never added to the scene (so I guess it's refCP
is still zero)
Instead of being cloned is it deep cloned?
Thanks for the attention,
E.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users