Blender Git Commit Log
Git Commits -> Revision efb7dd8
Revision efb7dd8 by Campbell Barton (master) April 15, 2009, 04:34 (GMT) |
Fix for own recent reference count error. - The armature weakref list was being incref'd twice then decrefed twice (incref and decref were used incorrectly), now only once. My 'fix' broke this. - In bpy_pydriver_create_dict the 2 refs added from running PyDict_SetItemString twice were undone when clearing the dictionary (added comment) - changed Py_XDECREF to Py_DECREF int BPY_pyconstraint_update and BPY_pyconstraint_target, Py_XDECREF checs for NULL value which would have crashed blender before it got to Py_XDECREF anyway. - after every error is reported (PyErr_Print), remove sys.last_traceback and clear the error, I found this fixed certain crashes (usually when starting the game engine or exiting blender), so best do this all the time. - header_text.c, CcdPhysicsEnvironment.cpp, KX_CameraActuator.cpp - remove some warnings. |
Commit Details:
Full Hash: efb7dd86ff001efe26fba1caef70a87806d138f6
SVN Revision: 19724
Parent Commit: 4fe917b
Lines Changed: +127, -107
10 Modified Paths:
/source/blender/nodes/intern/SHD_nodes/SHD_dynamic.c (+5, -1) (Diff)
/source/blender/python/api2_2x/bpy_internal_import.c (+5, -1) (Diff)
/source/blender/python/api2_2x/Draw.c (+7, -0) (Diff)
/source/blender/python/BPY_interface.c (+101, -100) (Diff)
/source/blender/src/header_text.c (+1, -0) (Diff)
/source/blender/src/imagepaint.c (+2, -1) (Diff)
/source/gameengine/GameLogic/SCA_PythonController.cpp (+2, -2) (Diff)
/source/gameengine/Ketsji/KX_CameraActuator.cpp (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_PolygonMaterial.cpp (+2, -0) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp (+1, -1) (Diff)
/source/blender/python/api2_2x/bpy_internal_import.c (+5, -1) (Diff)
/source/blender/python/api2_2x/Draw.c (+7, -0) (Diff)
/source/blender/python/BPY_interface.c (+101, -100) (Diff)
/source/blender/src/header_text.c (+1, -0) (Diff)
/source/blender/src/imagepaint.c (+2, -1) (Diff)
/source/gameengine/GameLogic/SCA_PythonController.cpp (+2, -2) (Diff)
/source/gameengine/Ketsji/KX_CameraActuator.cpp (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_PolygonMaterial.cpp (+2, -0) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp (+1, -1) (Diff)