Blender Git Loki

Git Commits -> Revision 4e9145f

Revision 4e9145f by Lukas Toenne (master)
September 10, 2013, 08:27 (GMT)
makesrna fix: The C++ wrapper functions for collection lookup (both int and string) were not clearing the return pointer if no item is found, but only in case there is a custom lookup function defined.
This causes trouble with Cycles because the C++ API uses the returned pointer to determine validity - if no item is found the pointer should be NULL for checking.

Commit Details:

Full Hash: 4e9145fa1cbe3a24457fb94c29fa167d41c5d273
SVN Revision: 59993
Parent Commit: 5dbe17c
Lines Changed: +12, -4

1 Modified Path:

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