Blender Git Commit Log

Git Commits -> Revision bfe2447

Revision bfe2447 by Campbell Barton (master)
December 1, 2010, 10:17 (GMT)
partial fix [#23265] matrix_world rna path is visible but returns 0 to drivers without error however accessed
this report raised a number of problems with rna paths, while we still dont have multi-dimensional array access, invalid paths were being accepted which confused things.

rna path resolving code was accepting all sorts of invalid input because atoi() just returns 0 for non numeric input.
now check if 0 number == '0' character.

Commit Details:

Full Hash: bfe2447f570ecc8b03a1ab3d3a1a1e4ed0b58312
SVN Revision: 33411
Parent Commit: 2ada145
Lines Changed: +6, -0

1 Modified Path:

/source/blender/makesrna/intern/rna_access.c (+6, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021