From the sdk lwtool.h, there is mention of undo function in layout tool class plugin.
* undo gets called when the user requests to perform an undo operation.
* return true to allow Lightwave's undo system to take care of it,
* or false to block it so that the tool can handle it accordingly.
I was wondering if this is also accessible in LScript? I'm currently developing a layout camera viewport zoom/pan tool, having the ability to undo what's being applied by the tool would be helpful.
Here is a preview of the zoom tool : http://dimensionarts.com.my/misc/internal/CamZoomer_prw-1.mp4
* undo gets called when the user requests to perform an undo operation.
* return true to allow Lightwave's undo system to take care of it,
* or false to block it so that the tool can handle it accordingly.
I was wondering if this is also accessible in LScript? I'm currently developing a layout camera viewport zoom/pan tool, having the ability to undo what's being applied by the tool would be helpful.
Here is a preview of the zoom tool : http://dimensionarts.com.my/misc/internal/CamZoomer_prw-1.mp4