<div dir="ltr">Hello everyone!<div><br></div><div>I'm learning as I go, and thanks to this wonderful forum, I recently learned that it is poor form and dangerous to add or remove nodes from the scene outside of node update callbacks. I am currently reorganizing my application to comply with this advice.</div><div><br></div><div>How I'm doing it is I set an update callback on the top group node of the entire scene, and I only add or remove nodes from within that update callback. Is this advisable (using the top group node's update callback)?</div><div><br></div><div>Also, what about other operations like setting a node's node mask? Is it dangerous to do that outside of an update callback? Any other operations? Is it just adding and removing nodes that should be limited to the update callback, or does it go further than that?</div><div><br></div><div>Thank you so much for your help! You guys have been an invaluable source of advice for me.</div><div><br></div><div>Erik</div></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:osg-users+unsubscribe@googlegroups.com">osg-users+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/osg-users/4e77289b-bf2c-4cf7-9c16-0d3637a73554o%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/osg-users/4e77289b-bf2c-4cf7-9c16-0d3637a73554o%40googlegroups.com</a>.<br />