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:
authorBastien Montagne <montagne29@wanadoo.fr>2019-12-11 21:51:56 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2019-12-11 21:53:46 +0300
commitb03066f7ee07eb8b2e57d1ec9dfc5a34b532a392 (patch)
treef9446d8c7594a1f42e5aa642487478b8d251edcc /source/blender
parent7878adf49cfff6ccbb18203f21c6355a518b34db (diff)
Cleanup: disable debug print define in override code.
Thanks to Blazej Floch (@bfloch) for the head-up.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/makesrna/intern/rna_access_compare_override.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_access_compare_override.c b/source/blender/makesrna/intern/rna_access_compare_override.c
index a22b261368c..7c9b4254e4d 100644
--- a/source/blender/makesrna/intern/rna_access_compare_override.c
+++ b/source/blender/makesrna/intern/rna_access_compare_override.c
@@ -27,7 +27,7 @@
#include "BLI_utildefines.h"
#include "BLI_string.h"
-#define DEBUG_OVERRIDE_TIMEIT
+// #define DEBUG_OVERRIDE_TIMEIT
#ifdef DEBUG_OVERRIDE_TIMEIT
# include "PIL_time_utildefines.h"
@@ -598,7 +598,6 @@ bool RNA_struct_override_matches(Main *bmain,
const bool do_create = (flags & RNA_OVERRIDE_COMPARE_CREATE) != 0;
const bool do_restore = (flags & RNA_OVERRIDE_COMPARE_RESTORE) != 0;
-//#define DEBUG_OVERRIDE_TIMEIT
#ifdef DEBUG_OVERRIDE_TIMEIT
static float _sum_time_global = 0.0f;
static float _num_time_global = 0.0f;