Blender Git Commit Log
Git Commits -> Revision 0ed005d
Revision 0ed005d by Philipp Oeser (temp-attribute-processor) June 7, 2021, 14:59 (GMT) |
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 |
Commit Details:
Full Hash: 0ed005d48a934a254de3a5f1f9626f60243587e0
Parent Commit: 1f33e20
Committed By: Jacques Lucke
Lines Changed: +7, -7
1 Modified Path:
/source/blender/blenkernel/intern/material.c (+7, -7) (Diff)