[Bf-blender-cvs] [3a15834d634] blender2.8: OpenSubdiv: Cleanup

Sergey Sharybin noreply at git.blender.org
Wed Sep 26 10:21:46 CEST 2018


Commit: 3a15834d6343b4c8ab04b301cc216929a51b6092
Author: Sergey Sharybin
Date:   Wed Sep 26 10:21:34 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB3a15834d6343b4c8ab04b301cc216929a51b6092

OpenSubdiv: Cleanup

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

M	intern/opensubdiv/internal/opensubdiv_util.h
M	intern/opensubdiv/stub/opensubdiv_topology_refiner_stub.cc

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

diff --git a/intern/opensubdiv/internal/opensubdiv_util.h b/intern/opensubdiv/internal/opensubdiv_util.h
index db55504215d..1f5ddc00f01 100644
--- a/intern/opensubdiv/internal/opensubdiv_util.h
+++ b/intern/opensubdiv/internal/opensubdiv_util.h
@@ -28,7 +28,7 @@ namespace opensubdiv_capi {
 using std::string;
 using std::vector;
 
-#define foreach(x, y) for(x : y)
+#define foreach(x, y) for (x : y)
 
 #define STRINGIFY_ARG(x) "" #x
 #define STRINGIFY_APPEND(a, b) "" a #b
diff --git a/intern/opensubdiv/stub/opensubdiv_topology_refiner_stub.cc b/intern/opensubdiv/stub/opensubdiv_topology_refiner_stub.cc
index de98b0b5eee..01d58837b2b 100644
--- a/intern/opensubdiv/stub/opensubdiv_topology_refiner_stub.cc
+++ b/intern/opensubdiv/stub/opensubdiv_topology_refiner_stub.cc
@@ -23,7 +23,7 @@
 OpenSubdiv_TopologyRefiner* openSubdiv_createTopologyRefinerFromConverter(
     OpenSubdiv_Converter* /*converter*/,
     const OpenSubdiv_TopologyRefinerSettings* /*settings*/) {
-  return NULL;     
+  return NULL;
 }
 
 void openSubdiv_deleteTopologyRefiner(



More information about the Bf-blender-cvs mailing list