diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-07-29 14:09:49 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-07-29 14:10:19 +0300 |
commit | 8e9534a850e593e7cd7bbb35c4326bb69eb5b58c (patch) | |
tree | 54d3a2945b733d586526a0dbaf2c14427b179199 /intern/opensubdiv | |
parent | 8b84c5f9de32e42e835a15aa1ef05504d0a4c198 (diff) |
OpenSubdiv: Make empty meshes supported and not crashing
Diffstat (limited to 'intern/opensubdiv')
-rw-r--r-- | intern/opensubdiv/opensubdiv_capi.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/opensubdiv/opensubdiv_capi.cc b/intern/opensubdiv/opensubdiv_capi.cc index 717af4fa4f2..e3bc5891c45 100644 --- a/intern/opensubdiv/opensubdiv_capi.cc +++ b/intern/opensubdiv/opensubdiv_capi.cc @@ -292,7 +292,7 @@ void openSubdiv_osdGLMeshBindVertexBuffer(OpenSubdiv_GLMesh *gl_mesh) const struct OpenSubdiv_TopologyRefinerDescr *openSubdiv_getGLMeshTopologyRefiner( OpenSubdiv_GLMesh *gl_mesh) { - return gl_mesh->topology_refiner;; + return gl_mesh->topology_refiner; } int openSubdiv_supportGPUDisplay(void) |