[Bf-blender-cvs] [dbc0ea9aff3] greasepencil-object: Disable debug lines to avoid compiler error

Antonio Vazquez noreply at git.blender.org
Thu Jun 7 16:40:09 CEST 2018


Commit: dbc0ea9aff355969b5947e5bbb33d28d788a12e1
Author: Antonio Vazquez
Date:   Thu Jun 7 16:20:51 2018 +0200
Branches: greasepencil-object
https://developer.blender.org/rBdbc0ea9aff355969b5947e5bbb33d28d788a12e1

Disable debug lines to avoid compiler error

===================================================================

M	source/blender/editors/animation/anim_deps.c

===================================================================

diff --git a/source/blender/editors/animation/anim_deps.c b/source/blender/editors/animation/anim_deps.c
index ca30fbced8d..898c8b6464a 100644
--- a/source/blender/editors/animation/anim_deps.c
+++ b/source/blender/editors/animation/anim_deps.c
@@ -436,11 +436,12 @@ void ANIM_animdata_update(bAnimContext *ac, ListBase *anim_data)
 			}
 		}
 		else if (ale->update) {
+#if 0
 			if (G.debug & G_DEBUG) {
 				printf("%s: Unhandled animchannel updates (%d) for type=%d (%p)\n",
 				       __func__, ale->update, ale->type, ale->data);
 			}
-
+#endif
 			/* Prevent crashes in cases where it can't be handled */
 			ale->update = 0;
 		}



More information about the Bf-blender-cvs mailing list