Commit: 1a590c7a1cb01624e23e05f5f8fb5ab1898534b5
Author: Clément Foucault
Date: Tue Sep 11 16:27:49 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB1a590c7a1cb01624e23e05f5f8fb5ab1898534b5
DRW: Don't highjack all debug values
===================================================================
M source/blender/draw/intern/draw_manager_profiling.c
===================================================================
diff --git a/source/blender/draw/intern/draw_manager_profiling.c
b/source/blender/draw/intern/draw_manager_profiling.c
index edeb6c07733..3900117327e 100644
--- a/source/blender/draw/intern/draw_manager_profiling.c
+++ b/source/blender/draw/intern/draw_manager_profiling.c
@@ -81,7 +81,7 @@ void DRW_stats_free(void)
void DRW_stats_begin(void)
{
- if (G.debug_value > 20) {
+ if (G.debug_value > 20 && G.debug_value < 30) {
DTP.is_recording = true;
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs