Tweak to group operator naming
This commit is contained in:
@@ -149,10 +149,10 @@ class OBJECT_PT_groups(ObjectButtonsPanel):
|
||||
|
||||
if wide_ui:
|
||||
split = layout.split()
|
||||
split.operator_menu_enum("object.group_add", "group", text="Add to Group")
|
||||
split.operator_menu_enum("object.group_add", "group")
|
||||
split.label()
|
||||
else:
|
||||
layout.operator_menu_enum("object.group_add", "group", text="Add to Group")
|
||||
layout.operator_menu_enum("object.group_add", "group")
|
||||
|
||||
for group in bpy.data.groups:
|
||||
if ob.name in group.objects:
|
||||
|
||||
@@ -287,8 +287,9 @@ void OBJECT_OT_group_add(wmOperatorType *ot)
|
||||
PropertyRNA *prop;
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Add Group";
|
||||
ot->name= "Add to Group";
|
||||
ot->idname= "OBJECT_OT_group_add";
|
||||
ot->description = "Add an object to an existing group, or create new.";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= group_add_exec;
|
||||
|
||||
Reference in New Issue
Block a user