Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-08-05 15:51:08 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-08-05 15:51:08 +0300
commit6146fdc7b03020871f0019768e9a044d577bd1fc (patch)
tree50c43856ec1bad97a029e17b1abc0c8383403f06 /source/blender/modifiers
parent0208c959867ff73824b9f28516903b0d80e3b930 (diff)
OpenSubdiv: Edit mode was not checking for Use OpenSubdiv flag
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r--source/blender/modifiers/intern/MOD_subsurf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_subsurf.c b/source/blender/modifiers/intern/MOD_subsurf.c
index edf02abfd2a..08c0df335be 100644
--- a/source/blender/modifiers/intern/MOD_subsurf.c
+++ b/source/blender/modifiers/intern/MOD_subsurf.c
@@ -160,7 +160,7 @@ static DerivedMesh *applyModifierEM(ModifierData *md, Object *UNUSED(ob),
/* TODO(sergey): Not entirely correct, modifiers on top of subsurf
* could be disabled.
*/
- if (md->next == NULL && allow_gpu) {
+ if (md->next == NULL && allow_gpu && smd->use_opensubdiv) {
ss_flags |= SUBSURF_USE_GPU_BACKEND;
}
#endif