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
Notes: blender-bot 2023-02-14 08:40:26 +01:00
Referenced by issue #91999, Cycles Regression: Modifying objects in the rendered viewport in certain ways leads to artifacts
1 changed files with 1 additions and 0 deletions

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();