[Bf-blender-cvs] [3777918e5c9] blender2.8: Remove debug prints

Joshua Leung noreply at git.blender.org
Thu Jun 21 06:12:49 CEST 2018


Commit: 3777918e5c90ccb4469fe9f6282e0b4d7e53b859
Author: Joshua Leung
Date:   Thu Jun 21 16:08:52 2018 +1200
Branches: blender2.8
https://developer.blender.org/rB3777918e5c90ccb4469fe9f6282e0b4d7e53b859

Remove debug prints

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

M	source/blender/editors/space_action/space_action.c
M	source/blender/makesrna/intern/rna_space.c

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

diff --git a/source/blender/editors/space_action/space_action.c b/source/blender/editors/space_action/space_action.c
index 31ae47245c5..537f184c71c 100644
--- a/source/blender/editors/space_action/space_action.c
+++ b/source/blender/editors/space_action/space_action.c
@@ -859,7 +859,6 @@ static void action_space_subtype_set(ScrArea *sa, int value)
 		sact->mode = value;
 	}
 	else {
-		printf("%p mode prev = %d\n", sact, sact->mode_prev);
 		sact->mode = sact->mode_prev;
 	}
 }
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c
index 6703c43437c..11d30721c9e 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -1522,7 +1522,6 @@ static void rna_SpaceDopeSheetEditor_mode_update(bContext *C, PointerRNA *ptr)
 
 	/* store current mode as "old mode", so that returning from other editors doesn't always reset to "Action Editor" */
 	if (saction->mode != SACTCONT_TIMELINE) {
-		printf("%p storing %d as old mode over %d\n", saction, saction->mode, saction->mode_prev);
 		saction->mode_prev = saction->mode;
 	}
 }



More information about the Bf-blender-cvs mailing list