Cleanup: rename specials -> context_menu
In keeping with convention to match code & UI naming. - No user visible changes. - Include 'menu' in the name since context is an overloaded term. - While a few of these are panels, from a user perspective they are still context menus.
This commit is contained in:
@@ -158,7 +158,7 @@ class OBJECT_PT_relations(ObjectButtonsPanel, Panel):
|
||||
col.prop(ob, "pass_index")
|
||||
|
||||
|
||||
class COLLECTION_MT_specials(Menu):
|
||||
class COLLECTION_MT_context_menu(Menu):
|
||||
bl_label = "Collection Specials"
|
||||
|
||||
def draw(self, context):
|
||||
@@ -199,7 +199,7 @@ class OBJECT_PT_collections(ObjectButtonsPanel, Panel):
|
||||
row = col.box().row()
|
||||
row.prop(collection, "name", text="")
|
||||
row.operator("object.collection_remove", text="", icon='X', emboss=False)
|
||||
row.menu("COLLECTION_MT_specials", icon='DOWNARROW_HLT', text="")
|
||||
row.menu("COLLECTION_MT_context_menu", icon='DOWNARROW_HLT', text="")
|
||||
|
||||
row = col.box().row()
|
||||
row.prop(collection, "instance_offset", text="")
|
||||
@@ -390,7 +390,7 @@ classes = (
|
||||
OBJECT_PT_transform,
|
||||
OBJECT_PT_delta_transform,
|
||||
OBJECT_PT_relations,
|
||||
COLLECTION_MT_specials,
|
||||
COLLECTION_MT_context_menu,
|
||||
OBJECT_PT_collections,
|
||||
OBJECT_PT_instancing,
|
||||
OBJECT_PT_instancing_size,
|
||||
|
Reference in New Issue
Block a user