diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-04-02 17:54:17 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-04-02 17:54:17 +0300 |
commit | e276558a50f06c6ec5d6b36b138ad5777dd05c0a (patch) | |
tree | 5176a972f4b9e38b7260aa0ac09a79cb14ef1c5d /source/blender/makesrna | |
parent | b75a7c2f8fb81eb7da067128dd90e3cd11406ab4 (diff) |
Fix T74983: Material preview icons don't refresh
The root cause of the issue reported in T74983 is that an `IDNode` would
not be marked as user-modified. This marking happened while looping over
outgoing relations of one of its operation nodes. Since rBff60dd8b18ed
unused relations are removed, and as a result the `IDNode` would not be
marked.
The solution was to move the responsible code outside the loop; this is
probably a good idea anyway, as the code did not actually use the
looped-over relations at all, and was thus repeated unnecessarily.
Diffstat (limited to 'source/blender/makesrna')
0 files changed, 0 insertions, 0 deletions