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:
authorClément Foucault <foucault.clem@gmail.com>2018-09-11 17:27:49 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-09-11 17:27:55 +0300
commit1a590c7a1cb01624e23e05f5f8fb5ab1898534b5 (patch)
tree1cb0e8f4633308e19ba46e5463174c89a35626f8 /source/blender/draw
parent19082763dd59910863817bfa55d160c6800de3fb (diff)
DRW: Don't highjack all debug values
Diffstat (limited to 'source/blender/draw')
-rw-r--r--source/blender/draw/intern/draw_manager_profiling.c2
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;
}