From: Vassilii K. <vas...@ta...> - 2013-08-21 20:04:54
|
Hi fellow devs, in the scope of fixing bug# 6953, I have introduced an extra argument to BatchTool -- uistate, which you already know from the tool initialization API. Previously, tools would swallow uistate and BatchTool wouldn't know if there's any UI, then it would try to pop up a UI warning about an impossibility to undo the tool action, and then proceed. Now, if BatchTool sees there is no UI (and so it's run from the cmdline), it would just delegate to the base Tool class, and do nothing else. There is no UI to request any undo, so the user doesn't care about the warning anyway. If you own a 3rd-party tool that uses the BatchTool class, please update your tool accordingly. V. |