[osg-users] Perform actions when a child node is added

Robert Osfield robert.osfield at gmail.com
Mon Jun 26 05:53:05 PDT 2017

On 26 June 2017 at 13:18, Bruno Oliveira
<bruno.manata.oliveira at gmail.com> wrote:
> a dangling pointer is a probable cause of my problems. Thanks for the hint,
> I'll look into it.
> I thought it could be related to me rewriting the node's InitialBound.

Modify and reading data like Node::_initialBound on a valid Node would
only cause problems with things like culling or positioning
incorrectly it is very unlikely to cause a crash.

Trying to write to a Node::_initialBound to a node that has been
deleted will cause very likely crash, if it doesn't crash it's only a
fluke that that freed memory hasn't been reused yet.


More information about the osg-users mailing list