Blender Git Loki
Git Commits -> Revision 427cae9
Revision 427cae9 by Ken Hughes (master) November 28, 2005, 05:21 (GMT) |
-- Fix bugs caused (by me) by incorrect use of Py_RETURN_NONE macro in "if" statements. The macro defined in gen_utils.h expands to two statements; putting after an "if" statement without {} means the second statement should always be executed. I'm not sure if just putting braces around both statements would cause other compilers to complain. But this explains an earlier bug in the Object module which only appeared on MacOS/X. |
Commit Details:
Full Hash: 427cae9eebaceeac80f8e7a151661aa36f18db01
SVN Revision: 5955
Parent Commit: b2e32f5
Lines Changed: +4, -2