[Bf-blender-cvs] [af288a09a52] master: Viewport: Enable draw_debug.cc code when WITH_DRAW_DEBUG is on

Joseph Eagar noreply at git.blender.org
Sat Oct 8 00:41:14 CEST 2022


Commit: af288a09a529dc802effe104f09870a4fb48802a
Author: Joseph Eagar
Date:   Fri Oct 7 15:40:41 2022 -0700
Branches: master
https://developer.blender.org/rBaf288a09a529dc802effe104f09870a4fb48802a

Viewport: Enable draw_debug.cc code when WITH_DRAW_DEBUG is on

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

M	source/blender/draw/intern/draw_debug.cc

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

diff --git a/source/blender/draw/intern/draw_debug.cc b/source/blender/draw/intern/draw_debug.cc
index 9e0be3d96ae..a78dc59cb7e 100644
--- a/source/blender/draw/intern/draw_debug.cc
+++ b/source/blender/draw/intern/draw_debug.cc
@@ -21,7 +21,7 @@
 
 #include <iomanip>
 
-#ifdef DEBUG
+#if defined(DEBUG) || defined(WITH_DRAW_DEBUG)
 #  define DRAW_DEBUG
 #else
 /* Uncomment to forcibly enable debug draw in release mode. */



More information about the Bf-blender-cvs mailing list