OpenSubdiv: Edit mode was not checking for Use OpenSubdiv flag

This commit is contained in:
Sergey Sharybin
2015-08-05 14:51:08 +02:00
parent 0208c95986
commit 6146fdc7b0

View File

@@ -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