rna functions were getting away with passing the string "True" instead of True, chang...
authorCampbell Barton <ideasman42@gmail.com>
Sun, 22 Nov 2009 21:51:12 +0000 (21:51 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 22 Nov 2009 21:51:12 +0000 (21:51 +0000)
commitdc5b0c8b9c78a0c251f2ed2eacff7deffd70bd6a
treedb52f416b03a82eda86c42865b7f5a965472220d
parent9c602bd4554a2ad6b49c261830cf72e8849ade16
rna functions were getting away with passing the string "True" instead of True, changed get the integer value and test its 1 or 0.

allow rna function return values as an exception since so many poll functions do... "return (context.blah and context.foo)", that makign all return bool's isnt that nice.
release/scripts/ui/properties_particle.py
source/blender/python/intern/bpy_rna.c