diff options
author | Hans Goudey <h.goudey@me.com> | 2021-06-28 17:51:39 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-06-28 17:51:39 +0300 |
commit | 0afe4e81cbb2a0f8f26a2a5c2e5cb5e6c876f20e (patch) | |
tree | 43581da2fe274ce29a30f2ef0f302c91b3136251 | |
parent | 222c39fe7052c0c44eccdca630c5ca273da4d3df (diff) |
Fix name of UI emboss RNA enum item
This was a stupid mistake in my original commit that added this item.
While this is an API breakage, the name is simply wrong, and it is only
6 months old, and slightly niche.
Differential Revision: https://developer.blender.org/D11701
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_mesh.py | 2 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_ui.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_mesh.py b/release/scripts/startup/bl_ui/properties_data_mesh.py index b0e466d3e51..c6a0f0b1d05 100644 --- a/release/scripts/startup/bl_ui/properties_data_mesh.py +++ b/release/scripts/startup/bl_ui/properties_data_mesh.py @@ -117,7 +117,7 @@ class MESH_UL_shape_keys(UIList): split = layout.split(factor=0.66, align=False) split.prop(key_block, "name", text="", emboss=False, icon_value=icon) row = split.row(align=True) - row.emboss = 'UI_EMBOSS_NONE_OR_STATUS' + row.emboss = 'NONE_OR_STATUS' if key_block.mute or (obj.mode == 'EDIT' and not (obj.use_shape_key_edit_mode and obj.type == 'MESH')): row.active = False if not item.id_data.use_relative: diff --git a/source/blender/makesrna/intern/rna_ui.c b/source/blender/makesrna/intern/rna_ui.c index 8f596ec6a5c..acf580e3ddf 100644 --- a/source/blender/makesrna/intern/rna_ui.c +++ b/source/blender/makesrna/intern/rna_ui.c @@ -1231,7 +1231,7 @@ static void rna_def_ui_layout(BlenderRNA *brna) {UI_EMBOSS_PULLDOWN, "PULLDOWN_MENU", 0, "Pulldown Menu", "Draw pulldown menu style"}, {UI_EMBOSS_RADIAL, "RADIAL_MENU", 0, "Radial Menu", "Draw radial menu style"}, {UI_EMBOSS_NONE_OR_STATUS, - "UI_EMBOSS_NONE_OR_STATUS", + "NONE_OR_STATUS", 0, "None or Status", "Draw with no emboss unless the button has a coloring status like an animation state"}, |