Hi Ale,

There is no such capability built-in. You need to build your own layer on top to manage changes to the scene graph. You should write your own manipulator (or modify an existing one) to route changes through your change management layer, rather than having it change the underlying transform node directly. I have found the best practice is to treat osg as just the display layer it is intended to be, and not to try and use it as your application's primary data model.

Good luck,
Peter

On 11/4/2013 10:02 AM, Ale Maro wrote:
Hi,

I am trying to find a way to detect any changes of the scene graph 
automatically?
I would like to implement an undo/redo mechanism and also I would like to know 
when my scene changes and needs to be saved.
For example I would like a callback is called when a manipulator changes a 
transformation node (avoiding modification on manipulators)
Is there something already implemented in OSG that can help me?

Thank you!

Cheers,
Ale

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=57063#57063





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


--
Peter Amstutz
Senior Software Engineer
Technology Solutions Experts
Natick, MA
02131

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to