addon_common
addon_common copied to clipboard
exiting the addon
I noticed today that when calling self.done(cancel = True) from within an fsm state (on ESC press) that the operator does not exit unless mouse cursor hovers outside the main UI addon window.
not sure if this is an issue or it was intended this way.
PS: is self.done(cancel = True) more elegant way of exiting the addon altogether than self.done()
[edited by patmo141]
for part b.
self.done() will run the end_commit() method self.done(cancel = True) will run end_cancel() method
They are for two different things....canceling vs committing