Blender Git Loki

Git Commits -> Revision 3e4d720

Revision 3e4d720 by Campbell Barton (master)
August 31, 2021, 02:06 (GMT)
Fix logical error resolving RNA paths

Only append RNA_path_from_ID_to_struct to context attributes if those
paths resolve to ID types.

Also simplify creating RNA paths by adding utility functions:

- WM_context_path_resolve_property_full
- WM_context_path_resolve_full

Part of fix for T90723.

Commit Details:

Full Hash: 3e4d720ae4836783db978b0a378e97b47dcaca87
Parent Commit: aabe6e3
Lines Changed: +117, -71

5 Modified Paths:

/source/blender/editors/interface/interface_context_menu.c (+25, -45) (Diff)
/source/blender/makesrna/intern/rna_access.c (+4, -4) (Diff)
/source/blender/makesrna/RNA_access.h (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+78, -17) (Diff)
/source/blender/windowmanager/WM_api.h (+8, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021