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
This commit is contained in:
parent
222c39fe70
commit
0afe4e81cb
|
@ -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:
|
||||
|
|
|
@ -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"},
|
||||
|
|
Loading…
Reference in New Issue