Cycles: Allow cancel during displacement of meshes

This commit is contained in:
Mai Lavelle
2018-09-06 00:23:50 -04:00
parent 94ec80d21c
commit feb3c74a05

View File

@@ -2162,10 +2162,9 @@ void MeshManager::device_update(Device *device, DeviceScene *dscene, Scene *scen
num_bvh++;
}
}
}
/* TODO: properly handle cancel halfway displacement */
if(progress.get_cancel()) return;
if(progress.get_cancel()) return;
}
/* Device re-update after displacement. */
if(displacement_done) {