Fix for building with MSVC2008
authorCampbell Barton <ideasman42@gmail.com>
Tue, 1 Apr 2014 22:16:47 +0000 (09:16 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 1 Apr 2014 22:16:47 +0000 (09:16 +1100)
source/blender/freestyle/intern/view_map/BoxGrid.h
source/blender/freestyle/intern/view_map/SphericalGrid.h
source/blender/freestyle/intern/view_map/ViewMapBuilder.cpp

index a03924cf8935da348d8730acce5ef5c3a1f85c18..0ef4ce37b114e5e412dfe5483943c8ee7171d872 100644 (file)
@@ -28,7 +28,7 @@
  *  \date 2011-1-29
  */
 
-#define BOX_GRID_LOGGING false
+#define BOX_GRID_LOGGING 0
 
 // I would like to avoid using deque because including ViewMap.h and <deque> or <vector>
 // separately results in redefinitions of identifiers. ViewMap.h already includes <vector>
index 915398af02fb9a067a9ec21187be8eafdb3e8d53..5a94a84705da1007d6fb7cbc644ca0f7df487ad2 100644 (file)
@@ -28,7 +28,7 @@
  *  \date 2010-12-19
  */
 
-#define SPHERICAL_GRID_LOGGING false
+#define SPHERICAL_GRID_LOGGING 0
 
 // I would like to avoid using deque because including ViewMap.h and <deque> or <vector> separately results in
 // redefinitions of identifiers. ViewMap.h already includes <vector> so it should be a safe fall-back.
index 85c460a5fffb4d5ddc04dd3cf30b3917611eb364..691c7a4afe4773d0c38ac647e42fb3946ce78744 100644 (file)
@@ -51,7 +51,7 @@ namespace Freestyle {
 // XXX Grmll... G is used as template's typename parameter :/
 static const Global &_global = G;
 
-#define LOGGING false
+#define LOGGING 0
 
 using namespace std;