Blender Git Commit Log

Git Commits -> Revision d8163a0

Revision d8163a0 by Lukas Toenne (master)
February 8, 2016, 09:13 (GMT)
Fix for non-bool return values of a few common RNA functions with declared boolean return.

Since rBbbc7dc169dc365889bad3f3aed7b868efb432710 bool-valued RNA functions are expected to
return only 0 or 1. For flag tests as in these functions the returned int value needs to be
explicitly converted to bool.

Commit Details:

Full Hash: d8163a08fb62903257878ae1bdbb3c0ba5b8e773
Parent Commit: dc2a01c
Lines Changed: +3, -3

1 Modified Path:

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