Fix T85926: Cycles missing viewport updates when making materials single user

This issue seems to be caused by the reallocation flag not being set on
the device shader data array so it was never updated on the GPU although
the host memory was modified.
This commit is contained in:
Kévin Dietrich
2021-02-25 02:16:58 +01:00
parent c47990f41c
commit 72370b92be

View File

@@ -1585,6 +1585,7 @@ void GeometryManager::device_update_preprocess(Device *device, Scene *scene, Pro
dscene->tri_patch.tag_realloc();
dscene->tri_vnormal.tag_realloc();
dscene->tri_patch_uv.tag_realloc();
dscene->tri_shader.tag_realloc();
dscene->patches.tag_realloc();
}