diff options
author | Lukas Stockner <lukas.stockner@freenet.de> | 2022-05-04 21:05:59 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-05-04 21:07:19 +0300 |
commit | 0fa1c65ee30d5a9e742ab313de440d44424e427e (patch) | |
tree | a8364ab554ad6b8cf9225b77b84d13ceca00ca0e /intern/cycles/blender/addon/ui.py | |
parent | 54f447ecde72ab97c058d3b81f616751ef1677e1 (diff) |
Fix T95644: Cycles doesn't update modified object attributes on GPU
evice_update_preprocess is supposed to detect modified attributes and flag the
device_vector for a copy through device_update_flags. However, since object
attributes are only created in device_update_attributes afterwards, they can't
be included in that check.
Change the function that actually updates the device_vector to tag it as
modified as soon as its content gets updated.
Differential Revision: https://developer.blender.org/D14815
Diffstat (limited to 'intern/cycles/blender/addon/ui.py')
0 files changed, 0 insertions, 0 deletions