Depsgraph: Don't use derived mesh

Ideally would need to make check based on evaluated mesh,
but is now a good time to go away from derived mesh.
This commit is contained in:
Sergey Sharybin
2018-11-20 12:23:07 +01:00
parent fd926f0058
commit e81aca85cb

View File

@@ -608,8 +608,6 @@ void update_special_pointers(const Depsgraph *depsgraph,
*/
Object *object_cow = (Object *)id_cow;
const Object *object_orig = (const Object *)id_orig;
BLI_assert(object_cow->derivedFinal == NULL);
BLI_assert(object_cow->derivedDeform == NULL);
object_cow->mode = object_orig->mode;
object_cow->sculpt = object_orig->sculpt;
if (object_cow->type == OB_MESH) {