Blender Git Commit Log

Git Commits -> Revision dc5b0c8

Revision dc5b0c8 by Campbell Barton (master)
November 22, 2009, 21:51 (GMT)
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.

Commit Details:

Full Hash: dc5b0c8b9c78a0c251f2ed2eacff7deffd70bd6a
SVN Revision: 24787
Parent Commit: 9c602bd
Lines Changed: +18, -11

2 Modified Paths:

/release/scripts/ui/properties_particle.py (+6, -6) (Diff)
/source/blender/python/intern/bpy_rna.c (+12, -5) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021