[Bf-blender-cvs] CVS commit: blender/source/blender/python/api2_2x Object.c Key.c
Ken Hughes
khughes at pacific.edu
Mon Nov 28 06:21:25 CET 2005
khughes (Ken Hughes) 2005/11/28 06:21:25 CET
Modified files:
blender/source/blender/python/api2_2x Object.c Key.c
Log:
-- 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.
Revision Changes Path
1.148 +3 -2 blender/source/blender/python/api2_2x/Object.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/python/api2_2x/Object.c.diff?r1=1.147&r2=1.148&cvsroot=bf-blender>
1.8 +3 -2 blender/source/blender/python/api2_2x/Key.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/python/api2_2x/Key.c.diff?r1=1.7&r2=1.8&cvsroot=bf-blender>
More information about the Bf-blender-cvs
mailing list