[Bf-blender-cvs] [ad58e15] opensubdiv-modifier: OpenSundiv: Remove debug-only code
Sergey Sharybin
noreply at git.blender.org
Thu Jul 3 14:28:21 CEST 2014
Commit: ad58e15b28b3c11a97c8f52c98c19c1432f49fb1
Author: Sergey Sharybin
Date: Thu Jul 3 18:28:01 2014 +0600
https://developer.blender.org/rBad58e15b28b3c11a97c8f52c98c19c1432f49fb1
OpenSundiv: Remove debug-only code
===================================================================
M intern/opensubdiv/opensubdiv_gpu_capi.cc
===================================================================
diff --git a/intern/opensubdiv/opensubdiv_gpu_capi.cc b/intern/opensubdiv/opensubdiv_gpu_capi.cc
index f83ab42..3a409c0 100644
--- a/intern/opensubdiv/opensubdiv_gpu_capi.cc
+++ b/intern/opensubdiv/opensubdiv_gpu_capi.cc
@@ -125,7 +125,6 @@ void openSubdiv_osdGLMeshDisplay(OpenSubdiv_GLMesh *gl_mesh)
const OsdDrawContext::PatchArrayVector &patches = mesh->GetDrawContext()->patchArrays;
- glShadeModel(GL_FLAT);
for (int i = 0; i < (int)patches.size(); ++i) {
OpenSubdiv::OsdDrawContext::PatchArray const &patch = patches[i];
OpenSubdiv::OsdDrawContext::PatchDescriptor desc = patch.GetDescriptor();
More information about the Bf-blender-cvs
mailing list