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();

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to