blender/source/gameengine/PyDoc
Campbell Barton e8f4d93221 Disable using KX_GameObjects in python that have been removed from the scene (zombie objects) by raising a RuntimeError when accessing methods, attributes or passing to a function.
Common cases of this are when python references an object from the AddObject actuator that has ended, or a scene has been loaded and the old objects freed.

This means some scripts will raise errors now in certain cases but better give the error early rather then failing silently with strange hard to track down behavior & crashes.

Added "isValid" attribute for checking objects are in a scene.

At the moment it uses the SceneGraph Node to check of the objects valid but it might be better to do this in a more generic way so scenes, meshes etc also have this check.
2009-04-15 10:57:28 +00:00
..
bge_api_validate_py.txt BGE api added place holder docs and CListValue docs. 2009-04-07 17:54:56 +00:00
BL_ActionActuator.py - fixed errors with bge epydocs 2009-04-05 10:03:23 +00:00
BL_Shader.py BGE api added place holder docs and CListValue docs. 2009-04-07 17:54:56 +00:00
BL_ShapeActionActuator.py - fixed errors with bge epydocs 2009-04-05 10:03:23 +00:00
CListValue.py BGE Py API 2009-04-11 20:58:09 +00:00
epy_docgen.sh - fixed errors with bge epydocs 2009-04-05 10:03:23 +00:00
GameKeys.py Added GameKeys.EventToCharacter(event, is_shift) so you can get the character that would be types when pressing a key. 2009-04-09 16:00:45 +00:00
GameLogic.py BGE Py API 2009-04-09 12:53:56 +00:00
GameTypes.py SVN maintenance. 2009-04-13 19:33:22 +00:00
KX_BlenderMaterial.py BGE api added place holder docs and CListValue docs. 2009-04-07 17:54:56 +00:00
KX_Camera.py BGE Epydocs were missing some functions 2009-04-06 13:13:25 +00:00
KX_CameraActuator.py "object" and "objectLastCreated" attribute for actuators, deprecates getObject/setObject() & getLastCreatedObject() 2009-02-19 10:34:51 +00:00
KX_CDActuator.py - fixed errors with bge epydocs 2009-04-05 10:03:23 +00:00
KX_ConstraintActuator.py BGE API cleanup: ConstraintActuator. 2009-04-09 23:10:12 +00:00
KX_ConstraintWrapper.py BGE api added place holder docs and CListValue docs. 2009-04-07 17:54:56 +00:00
KX_GameActuator.py BGE API Cleanup: GameActuator (patch from Andre) 2009-03-27 22:11:30 +00:00
KX_GameObject.py Disable using KX_GameObjects in python that have been removed from the scene (zombie objects) by raising a RuntimeError when accessing methods, attributes or passing to a function. 2009-04-15 10:57:28 +00:00
KX_IpoActuator.py Added attributes for Ipo Actuator settings (replacing all methods) 2009-03-26 01:42:01 +00:00
KX_LightObject.py BGE Epydocs were missing some functions 2009-04-06 13:13:25 +00:00
KX_MeshProxy.py mesh proxy attributes from andrecastelo 2009-04-13 03:43:16 +00:00
KX_MouseFocusSensor.py BGE Epydocs were missing some functions 2009-04-06 13:13:25 +00:00
KX_NearSensor.py BGE API cleanup: apply patch from Moguri: Near, Radar, Touch sensor updated. 2009-02-28 21:00:27 +00:00
KX_NetworkMessageActuator.py BGE API cleanup, patch from Moguri: RaySensor, NetworkMessageActuator, NetworkMessageSensor. 2009-03-31 19:02:01 +00:00
KX_NetworkMessageSensor.py BGE API cleanup, patch from Moguri: RaySensor, NetworkMessageActuator, NetworkMessageSensor. 2009-03-31 19:02:01 +00:00
KX_ObjectActuator.py BGE patch 17547 applied in trunk: Cleaned up pydoc for BGE, compiles now error free 2008-08-31 19:07:10 +00:00
KX_ParentActuator.py - fixed errors with bge epydocs 2009-04-05 10:03:23 +00:00
KX_PhysicsObjectWrapper.py BGE api added place holder docs and CListValue docs. 2009-04-07 17:54:56 +00:00
KX_PolygonMaterial.py
KX_PolyProxy.py BGE patch 17547 applied in trunk: Cleaned up pydoc for BGE, compiles now error free 2008-08-31 19:07:10 +00:00
KX_RadarSensor.py BGE API cleanup: apply patch from Moguri: Near, Radar, Touch sensor updated. 2009-02-28 21:00:27 +00:00
KX_RaySensor.py BGE API cleanup, patch from Moguri: RaySensor, NetworkMessageActuator, NetworkMessageSensor. 2009-03-31 19:02:01 +00:00
KX_SCA_AddObjectActuator.py BGE Epydocs were missing some functions 2009-04-06 13:13:25 +00:00
KX_SCA_DynamicActuator.py BGE Epydocs were missing some functions 2009-04-06 13:13:25 +00:00
KX_SCA_EndObjectActuator.py
KX_SCA_ReplaceMeshActuator.py BGE Epydocs were missing some functions 2009-04-06 13:13:25 +00:00
KX_Scene.py BGE api added place holder docs and CListValue docs. 2009-04-07 17:54:56 +00:00
KX_SceneActuator.py - fixed errors with bge epydocs 2009-04-05 10:03:23 +00:00
KX_SoundActuator.py BGE API cleanup: StateActuator. 2009-04-09 21:15:44 +00:00
KX_StateActuator.py BGE API cleanup: ConstraintActuator. 2009-04-09 23:10:12 +00:00
KX_TouchSensor.py BGE api added place holder docs and CListValue docs. 2009-04-07 17:54:56 +00:00
KX_TrackToActuator.py - fixed errors with bge epydocs 2009-04-05 10:03:23 +00:00
KX_VehicleWrapper.py BGE api added place holder docs and CListValue docs. 2009-04-07 17:54:56 +00:00
KX_VertexProxy.py Updated bge_api_validate_py.txt to check for undocumented attributes 2009-04-07 11:45:48 +00:00
KX_VisibilityActuator.py BGE: Occlusion culling and other performance improvements. 2009-04-13 20:08:33 +00:00
Rasterizer.py cleanup epydoc errors 2008-10-14 22:31:10 +00:00
SCA_2DFilterActuator.py BGE Py API 2009-04-09 12:53:56 +00:00
SCA_ActuatorSensor.py BGE Epydocs were missing some functions 2009-04-06 13:13:25 +00:00
SCA_AlwaysSensor.py
SCA_ANDController.py
SCA_DelaySensor.py - Attributes for the collision sensor: propertyName, materialCheck, pulseCollisions, objectHit and objectHitList. 2009-02-26 04:17:23 +00:00
SCA_IActuator.py
SCA_IController.py
SCA_ILogicBrick.py First batch of GE API cleanup. 2008-12-29 16:36:58 +00:00
SCA_ISensor.py First batch of GE API cleanup. 2008-12-29 16:36:58 +00:00
SCA_JoystickSensor.py BGE Joystick Sensor 2009-04-07 06:23:45 +00:00
SCA_KeyboardSensor.py BGE Bugfix 2009-04-09 22:15:26 +00:00
SCA_MouseSensor.py BGE Epydocs were missing some functions 2009-04-06 13:13:25 +00:00
SCA_NANDController.py SVN maintenance. 2009-04-13 19:33:22 +00:00
SCA_NORController.py SVN maintenance. 2009-04-13 19:33:22 +00:00
SCA_ORController.py
SCA_PropertyActuator.py First batch of GE API cleanup. 2008-12-29 16:36:58 +00:00
SCA_PropertySensor.py First batch of GE API cleanup. 2008-12-29 16:36:58 +00:00
SCA_PythonController.py BGE Py API 2009-02-24 05:50:45 +00:00
SCA_RandomActuator.py First batch of GE API cleanup. 2008-12-29 16:36:58 +00:00
SCA_RandomSensor.py Updated bge_api_validate_py.txt to check for undocumented attributes 2009-04-07 11:45:48 +00:00
SCA_XNORController.py SVN maintenance. 2009-04-13 19:33:22 +00:00
SCA_XORController.py SVN maintenance. 2009-04-13 19:33:22 +00:00
SConscript * Build aborts when giving options on command-line when WITH_BF_DOCS=True 2008-10-30 18:56:20 +00:00
WhatsNew.py BGE Epydocs were missing some functions 2009-04-06 13:13:25 +00:00