Le 05/02/2017 à 21:40, Jean-Samuel Reynaud a écrit : > Hi All, > > Any update on this ? > > Regards, > Le 02/02/2017 à 10:50, Jean-Samuel Reynaud a écrit : >> Dear All, >> >> Find attached a patch to add undo/redo feature for external python >> plugin called from the "External Plugins" menu. >> >> Attached: >> - The patch himself >> - A plugin to test is (named testundoredo.py): >> - Implement 3 plugins for undo/redo test purpose only >> - Remove all modules >> - Generate random content >> - Move elements randomly >> >> To test it: >> >> - Apply the patch and compile at least with option >> KICAD_SCRIPTING_ACTION_MENU=ON >> - Copy the script testundoredo.py into your plugin directory >> (~/.kicad_plugins under Linux). >> - Open pcbnew (from kicad or directly from command line) >> - Run plugins in the order you wish to test it. >> >> >> Regards, >>
It looks good to me. I committed it. Of course, more tests are welcome. Thanks, Jean-Samuel. -- Jean-Pierre CHARRAS _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

