Blender Git Commit Log

Git Commits -> Revision 8d40d61

Revision 8d40d61 by Philipp Oeser (master)
September 8, 2021, 06:25 (GMT)
Fix T91225: Quick Favorites and shortcuts are broken for some properties

Caused by {rB3e4d720ae483}.

Before above commit, this had a different path handling and
RNA_path_from_ID_to_struct() was always used [which kind of took care of
this]. Now this is only used if ptr represents an ID itself, so we are
"loosing" part of the path.

This patch adds the path back on the member_id in
wm_context_member_from_ptr() for everthing related to space_data, so
WM_context_path_resolve_property_full() can construct a full path even
for these.

Maniphest Tasks: T91225

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

Commit Details:

Full Hash: 8d40d61af093fcf528ce282b740eca119a5ee5d3
Parent Commit: 7beb4a0
Lines Changed: +8, -7

1 Modified Path:

/source/blender/windowmanager/intern/wm_operators.c (+8, -7) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021