Blender Git Commit Log

Git Commits -> Revision 6845aad

Revision 6845aad by Philipp Oeser (master)
August 27, 2021, 09:02 (GMT)
Fix T90907: RNA pointers for material slots are not unique across IDs

Caused by {rB1a81d268a19f}.

This caused e.g. ALT-clicking the 'Link' button to not propagate to
other selected objects (same as the 'Copy To Selected' context menu
entry).

If these are not unique across IDs, checks in ui_selectcontext_begin()
or copy_to_selected_button() could fail.

Now offset by ID pointer.

thx @JacquesLucke for clarification on the POINTER_* macros (and why
not to use them)!

Maniphest Tasks: T90907

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

Commit Details:

Full Hash: 6845aad1a271db9861ba54e50c97146277eead4f
Parent Commit: 7dba879
Lines Changed: +8, -6

2 Modified Paths:

/source/blender/editors/space_buttons/buttons_context.c (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_object.c (+6, -5) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021