Tweak to group operator naming

This commit is contained in:
2010-01-03 08:38:42 +00:00
parent 251ef0a47f
commit 7a33b5ce72
2 changed files with 4 additions and 3 deletions

View File

@@ -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:

View File

@@ -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;