diff options
author | Philipp Oeser <lichtwerk> | 2021-06-04 17:00:51 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2021-06-04 17:02:02 +0300 |
commit | 56005ef499894bcd48313e3df7ec965fe516c1dc (patch) | |
tree | 8431b2821b3b131c0a68d484f36a00c20267f6f8 /source/creator | |
parent | b6d6d8a1aaef3737f6739788c3b48ba8a852d42d (diff) |
Texture Paint: changing paint slots and viewport could go out of sync
When changing to another texture paint slot, the texture displayed in
the viewport should change accordingly (as well as the image displayed
in the Image Editor).
The procedure to find the texture to display in the viewport
(BKE_texpaint_slot_material_find_node) could fail
though because it assumed iterating nodes would always happen in the
same order (it was index based). This is not the case though, nodes can
get sorted differently based on selection (see ED_node_sort).
Now check the actual image being referenced in the paint slot for
comparison.
ref T88788 (probably enough to call this a fix, the other issue(s)
mentioned in the report are more likely a feature request)
Reviewed By: mano-wii
Maniphest Tasks: T88788
Differential Revision: https://developer.blender.org/D11496
Diffstat (limited to 'source/creator')
0 files changed, 0 insertions, 0 deletions