Page 1 of 1

[Feature Request] Don't let UnDo to exit scripts.

Posted: Thu Oct 27, 2005 7:41 pm
by Caronte
When using a Python script (with GUI) and you make a mistake, if you do a Ctrl+Z to undo the changes, blender quits the script and you need to load it again and set the values again :(

Posted: Wed Nov 16, 2005 7:42 am
by Duoas
The same thing happens when you hit the Esc key.

It's frustrating for an entire script to terminate when you're using a modal entry widget. It's inconsistent with the way the non-scripted UI works... (And it's OK to have to press Esc twice to cause the script to exit, since the first Esc is just for aborting data entry)

Posted: Sun Jan 22, 2006 8:36 pm
by FourMadMen
Yes please! I just now discovered the undo terminates my script. If it could not do that, that would be grand.

The ESC key solution is easy... Don't use the ESC key for exit. For GUI scripts just have an Exit button and use an alternate exit key like Q.