WM: Add dynamic callback version of operator "depends on cursor" flag #118983

Merged
Hans Goudey merged 5 commits from HooglyBoogly/blender:op-type-depends-on-cursor-dynamic into main 2024-03-11 19:23:25 +01:00

5 Commits

Author SHA1 Message Date
Hans Goudey 507c267ed0 Merge branch 'main' into op-type-depends-on-cursor-dynamic 2024-03-11 13:58:08 -04:00
Hans Goudey e849e06d8c Merge branch 'main' into op-type-depends-on-cursor-dynamic 2024-03-08 10:59:21 -05:00
Hans Goudey 068ea74591 Make properties argument optional 2024-03-08 10:59:07 -05:00
Hans Goudey a11309de81 Merge branch 'main' into op-type-depends-on-cursor-dynamic 2024-03-06 05:44:23 +01:00
Hans Goudey 1b58bd3ab8 WM: Add dynamic callback version of operator "depends on cursor" flag
For node tools, I would like to give the option of invoking the operator from the
menu, but waiting for a mouse click for the future "Mouse Position" node. Not
all node tools should do that though, and they all use the same operator type,
so it needs to depend on an operator callback. That's implemented here.
2024-03-01 15:20:39 -05:00