diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-07-22 18:52:30 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-07-22 18:53:00 +0300 |
commit | 164575af29f94d8db78265df1520a3f7bfd3c72d (patch) | |
tree | 19f6137ca254f9c6c37be9f93197673357ed6ae3 /source/blender/blenkernel/intern/CCGSubSurf_opensubdiv.c | |
parent | 7ca4cf2be59f52de4b2a622c358fca1f002806d1 (diff) |
OpenSubdiv: Properly respect Subdivide UVs option
Diffstat (limited to 'source/blender/blenkernel/intern/CCGSubSurf_opensubdiv.c')
-rw-r--r-- | source/blender/blenkernel/intern/CCGSubSurf_opensubdiv.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/CCGSubSurf_opensubdiv.c b/source/blender/blenkernel/intern/CCGSubSurf_opensubdiv.c index 9dc1a71adab..65cf899b42b 100644 --- a/source/blender/blenkernel/intern/CCGSubSurf_opensubdiv.c +++ b/source/blender/blenkernel/intern/CCGSubSurf_opensubdiv.c @@ -984,6 +984,11 @@ void ccgSubSurf__delete_pending(void) BLI_spin_unlock(&delete_spin); } +void ccgSubSurf__sync_subdivUvs(CCGSubSurf *ss, bool subdiv_uvs) +{ + ss->osd_subdiv_uvs = subdiv_uvs; +} + /* ** Public API ** */ void BKE_subsurf_osd_init(void) |