Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Ebb <matt@mke3.net>2010-01-22 09:48:29 +0300
committerMatt Ebb <matt@mke3.net>2010-01-22 09:48:29 +0300
commit38aacb92f32ef5ea80a5e9b4b7b2757a6cc4b8bf (patch)
treed74cf38589aa9c94091d83f16198455b7537ffd2 /source/blender/editors/space_node
parent0de9b98a31e4306d5cd41fba0c7ef28413484fef (diff)
Cleaned up some printfs in editors/ - converted some to reports, hid others behind G_DEBUG.
Diffstat (limited to 'source/blender/editors/space_node')
-rw-r--r--source/blender/editors/space_node/node_edit.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/editors/space_node/node_edit.c b/source/blender/editors/space_node/node_edit.c
index aba262bf92b..f77eeec9cc8 100644
--- a/source/blender/editors/space_node/node_edit.c
+++ b/source/blender/editors/space_node/node_edit.c
@@ -242,7 +242,8 @@ void ED_node_shader_default(Material *ma)
/* but lets check it anyway */
if(ma->nodetree) {
- printf("error in shader initialize\n");
+ if (G.f & G_DEBUG)
+ printf("error in shader initialize\n");
return;
}
@@ -272,7 +273,8 @@ void ED_node_composit_default(Scene *sce)
/* but lets check it anyway */
if(sce->nodetree) {
- printf("error in composit initialize\n");
+ if (G.f & G_DEBUG)
+ printf("error in composite initialize\n");
return;
}
@@ -306,7 +308,8 @@ void ED_node_texture_default(Tex *tx)
/* but lets check it anyway */
if(tx->nodetree) {
- printf("error in texture initialize\n");
+ if (G.f & G_DEBUG)
+ printf("error in texture initialize\n");
return;
}