On 27.08.2011 20:21, Matthias Scholz wrote: >> Also undo capability would be nice for such a feature ;-) > Can anybody explain me, how to implement undo? Or point me to the > documentation?
have a look at geometry converter or cts extension. i wrote a undoablegeometryoperation class. this should give you an idea. essentially it is keeping the old objects in a list and provides redo/undo methods to recreate the states. undo/redo for whole features should work accordingly. ede ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Jump-pilot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
