diff options
author | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2021-02-25 04:16:58 +0300 |
---|---|---|
committer | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2021-02-25 04:18:02 +0300 |
commit | 72370b92be0db6c7726e1b74e73c393ed1d00538 (patch) | |
tree | 723a738d0add011b16661d4985eee8c6227a0320 /intern | |
parent | c47990f41c7364058a72f5f162e5cdc06bce0adc (diff) |
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.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/render/geometry.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/render/geometry.cpp b/intern/cycles/render/geometry.cpp index 2c2b987e5c0..9f8bf68dadf 100644 --- a/intern/cycles/render/geometry.cpp +++ b/intern/cycles/render/geometry.cpp @@ -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(); } |