Blender Git Commit Log

Git Commits -> Revision 3b2a01e

Revision 3b2a01e by Philipp Oeser (master)
August 31, 2021, 10:29 (GMT)
Texture Paint: sync changing active texture in the node editor to the
active paint slot

When changing to another texture paint slot, the texture displayed in
the viewport changes accordingly (as well as the image displayed
in the Image Editor).

When changing the active texture in the Node Editor though, only the
texture displayed in the viewport changes.

This _can_ be confusing because you can end up painting on a texture
that you are not looking at in the viewport (so you dont have any
feedback whatsoever). Not 100% sure this is desired in all scenarios,
but this change makes it so that the active paint slot changes to the
one that uses the texture we chaged to in the Node Editor (keeping them
in sync).

If this is not desired in all cases, this could be made an option.

ref T88788
ref D11496

Maniphest Tasks: T88788

Differential Revision: https://developer.blender.org/D11497

Commit Details:

Full Hash: 3b2a01edf698fb27d9984fe12eb210df5246f16c
Parent Commit: d8b445e
Lines Changed: +12, -1

1 Modified Path:

/source/blender/editors/space_node/node_edit.cc (+12, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021