Adds a setting to disable most popup windows by default and allows holding Shift to show them
Also adds a hint about the Shift key to tooltips of affected operators
Note: There are some operators in ucupaint that don't support the redo panel because they rely on code running in invoke(). Trying to run them through the redo panel would result in an error or sometimes crash. This is a little beyond the scope of this PR (the redo panel is shown regardless of whether the popup is skipped or not), but since this PR makes it easier to discover those problems I decided to fix that by disabling the redo panel for operators that don't support it. This only hides the redo panel on the bottom left, the undo functionality (Ctrl+Z) still works as expected for those operators
Thanks for the PR! I just tested this and it works well even on Blender 2.8.
Yeah, some invoke can cause a crash with redo, but I didn't know you could hide the redo panel. It's a nice addition! 👍
Adds a setting to disable most popup windows by default and allows holding Shift to show them
Also adds a hint about the Shift key to tooltips of affected operators
Note: There are some operators in ucupaint that don't support the redo panel because they rely on code running in
invoke()
. Trying to run them through the redo panel would result in an error or sometimes crash. This is a little beyond the scope of this PR (the redo panel is shown regardless of whether the popup is skipped or not), but since this PR makes it easier to discover those problems I decided to fix that by disabling the redo panel for operators that don't support it. This only hides the redo panel on the bottom left, the undo functionality (Ctrl+Z) still works as expected for those operators