diff options
author | Matt Ebb <matt@mke3.net> | 2010-01-22 09:48:29 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-01-22 09:48:29 +0300 |
commit | 38aacb92f32ef5ea80a5e9b4b7b2757a6cc4b8bf (patch) | |
tree | d74cf38589aa9c94091d83f16198455b7537ffd2 /source/blender/editors/object | |
parent | 0de9b98a31e4306d5cd41fba0c7ef28413484fef (diff) |
Cleaned up some printfs in editors/ - converted some to reports, hid others behind G_DEBUG.
Diffstat (limited to 'source/blender/editors/object')
-rw-r--r-- | source/blender/editors/object/object_relations.c | 3 | ||||
-rw-r--r-- | source/blender/editors/object/object_vgroup.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/editors/object/object_relations.c b/source/blender/editors/object/object_relations.c index fbee03e3a30..3a7ab3a101d 100644 --- a/source/blender/editors/object/object_relations.c +++ b/source/blender/editors/object/object_relations.c @@ -1397,7 +1397,8 @@ void single_obdata_users(Scene *scene, int flag) armature_rebuild_pose(ob, ob->data); break; default: - printf("ERROR single_obdata_users: can't copy %s\n", id->name); + if (G.f & G_DEBUG) + printf("ERROR single_obdata_users: can't copy %s\n", id->name); return; } 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); |