Blender Git Loki

Git Commits -> Revision 6f1fa7a

Revision 6f1fa7a by Bastien Montagne (master)
September 2, 2019, 16:43 (GMT)
Fix/enhance new RNA path from real ID helpers.

Main issue was that `rna_prepend_real_ID_path()` would return
nothing in case given path was NULL, when it should actually return the
`prefix` computed by `RNA_find_real_ID_and_path()` in that case...

Also make return `real_id` pointer optionnal, no reasons to make it
mandatory here. And some general naming fixes.

Commit Details:

Full Hash: 6f1fa7aa256d2acc4bc91ff459c369db55ff8a02
Parent Commit: 1fd5c90
Lines Changed: +18, -10

2 Modified Paths:

/source/blender/makesrna/intern/rna_access.c (+17, -9) (Diff)
/source/blender/makesrna/RNA_access.h (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021