diff options
author | Ken Hughes <khughes@pacific.edu> | 2005-11-28 08:21:25 +0300 |
---|---|---|
committer | Ken Hughes <khughes@pacific.edu> | 2005-11-28 08:21:25 +0300 |
commit | 427cae9eebaceeac80f8e7a151661aa36f18db01 (patch) | |
tree | 8502f7b2fb2ccf4c87c9d6fe95274aa2b9c9ba96 /source/gameengine/Ketsji/KX_GameObject.cpp | |
parent | b2e32f5bd135eaf862be7159794f868b4ac2ce4a (diff) |
-- 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.
Diffstat (limited to 'source/gameengine/Ketsji/KX_GameObject.cpp')
0 files changed, 0 insertions, 0 deletions