make sure BPY_Err_Handle clears python errors, even if the exception cant be printed...
authorCampbell Barton <ideasman42@gmail.com>
Wed, 22 Oct 2008 07:09:15 +0000 (07:09 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 22 Oct 2008 07:09:15 +0000 (07:09 +0000)
commit69c6bd604c36e06d704948bce1eb32134ac8971f
tree773464fb49e1e49cd75ce643d3f4d93a14e2dee3
parent5987488fd0c9b75a8def632be4f3cafffd5bc1b7
make sure BPY_Err_Handle clears python errors, even if the exception cant be printed. Added PyErr_Clear() incase there are other references to exception data (sys.exc_info() from python)
source/blender/python/BPY_interface.c
source/gameengine/GameLogic/SCA_PythonController.cpp