Fix T91999: wrong Cycles updates with mesh deformation, after recent changes

This commit is contained in:
Brecht Van Lommel
2021-10-08 16:08:04 +02:00
parent 736be7cf58
commit 0c684a7046

View File

@@ -1505,6 +1505,7 @@ void GeometryManager::device_update_preprocess(Device *device, Scene *scene, Pro
dscene->prim_time.tag_realloc();
if (device_update_flags & DEVICE_MESH_DATA_NEEDS_REALLOC) {
dscene->tri_verts.tag_realloc();
dscene->tri_vnormal.tag_realloc();
dscene->tri_vindex.tag_realloc();
dscene->tri_patch.tag_realloc();