diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-09-11 17:27:49 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-09-11 17:27:55 +0300 |
commit | 1a590c7a1cb01624e23e05f5f8fb5ab1898534b5 (patch) | |
tree | 1cb0e8f4633308e19ba46e5463174c89a35626f8 /source/blender/draw/intern/draw_manager_profiling.c | |
parent | 19082763dd59910863817bfa55d160c6800de3fb (diff) |
DRW: Don't highjack all debug values
Diffstat (limited to 'source/blender/draw/intern/draw_manager_profiling.c')
-rw-r--r-- | source/blender/draw/intern/draw_manager_profiling.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |