diff options
Diffstat (limited to 'source/blender/editors/object/object_vgroup.c')
-rw-r--r-- | source/blender/editors/object/object_vgroup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_vgroup.c b/source/blender/editors/object/object_vgroup.c index 23411d2219f..20241f16c4f 100644 --- a/source/blender/editors/object/object_vgroup.c +++ b/source/blender/editors/object/object_vgroup.c @@ -543,7 +543,8 @@ static void vgroup_duplicate(Object *ob) BLI_snprintf(name, 32, "%s_copy", dg->name); while(get_named_vertexgroup(ob, name)) { if((strlen(name) + 6) > 32) { - printf("Internal error: the name for the new vertex group is > 32 characters"); + if (G.f & G_DEBUG) + printf("Internal error: the name for the new vertex group is > 32 characters"); return; } strcpy(s, name); |