|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Change color plugin » » » » Post: Re: Change color plugin new version (v0.3) |
Print at Dec 20, 2025, 5:20:15 AM |
| Posted by Puybaret at Jan 11, 2016, 3:32:14 PM |
|
Re: Change color plugin new version (v0.3) Thanks for this plugin ![]() It would be nice to program undo/redo. It's really not difficult to implement and you'll find plenty of examples in Sweet Home 3D source code, mainly in PlanController class. Once you retrieved the UndoableEditSupport instance with getUndoableEditSupport(), you just have to create an instance of AbstractUndoableEdit, overriding its undo, redo and getPresentationName methods, and finally call postEdit. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
|
|
Current timezone is GMT Dec 20, 2025, 5:20:15 AM |