diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2021-09-07 17:43:17 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2021-09-08 09:25:57 +0300 |
commit | 8d40d61af093fcf528ce282b740eca119a5ee5d3 (patch) | |
tree | 80b70b91b7863d5fad01af300b52959097e107d0 /source/blender/draw/intern/draw_manager.h | |
parent | 7beb4a0e0a49fdee3c4b98bcf9287ab72aaebda5 (diff) |
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
Diffstat (limited to 'source/blender/draw/intern/draw_manager.h')
0 files changed, 0 insertions, 0 deletions