Fix #113885 : Drag and Drop colors misses an undo push #113887

Merged
Philipp Oeser merged 3 commits from lichtwerk/blender:113885 into blender-v4.0-release 2023-10-19 16:02:41 +02:00

3 Commits

Author SHA1 Message Date
Philipp Oeser 21c5fb257a use RNA_property_ui_name 2023-10-19 13:51:17 +02:00
Philipp Oeser af785e44b3 more specific undo push
Since the operator can also act on e.g theme colors [and changes to
these shouldnt send undo pushes], dont do a general `OPTYPE_UNDO`, but
instead be a bit more specific and only do an undo push for buttons with
`UI_BUT_UNDO`.
2023-10-19 11:40:20 +02:00
Philipp Oeser 5f5da65278 Fix #113885 : Drag and Drop colors misses an undo push
`UI_OT_drop_color` misses `OPTYPE_UNDO`, now added.

Probably good for LTS.
2023-10-18 14:33:54 +02:00