ucupumar / ucupaint

Ucupaint is Blender addon to manage texture layers for Eevee and Cycles renderer.
GNU General Public License v3.0
1.37k stars 43 forks source link

Add editor setting to skip property popups #170

Closed passivestar closed 1 month ago

passivestar commented 1 month ago

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

ucupumar commented 1 month ago

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! 👍