From 22b501c7917e8e209aab2dee02101286b7ecc45f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 3 May 2009 09:21:58 +0000 Subject: fixes for bugs submitted by BGE users, fixes by myself and Mitchell Stokes - when the attribute check function failed it didnt set an error raising a SystemError instead - Rasterizer.getMaterialMode would never return KX_BLENDER_MULTITEX_MATERIAL - PropertySensor value attribute checking function was always returning a fail. - Vertex Self Shadow python script didnt update for meshes with modifiers. --- source/gameengine/PyDoc/KX_SceneActuator.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source/gameengine/PyDoc') diff --git a/source/gameengine/PyDoc/KX_SceneActuator.py b/source/gameengine/PyDoc/KX_SceneActuator.py index 2429cd6fb80..8e806c2c50e 100644 --- a/source/gameengine/PyDoc/KX_SceneActuator.py +++ b/source/gameengine/PyDoc/KX_SceneActuator.py @@ -18,12 +18,14 @@ class KX_SceneActuator(SCA_IActuator): @ivar camera: the camera to change to. When setting the attribute, you can use either a L{KX_Camera} or the name of the camera. @type camera: L{KX_Camera} on read, string or L{KX_Camera} on write + @ivar useRestart: Set flag to True to restart the sene + @type useRestart: bool @type mode: The mode of the actuator @type mode: int from 0 to 5 L{GameLogic.Scene Actuator} """ def setUseRestart(flag): """ - DEPRECATED + DEPRECATED: use the useRestart property instead Set flag to True to restart the scene. @type flag: boolean @@ -46,7 +48,7 @@ class KX_SceneActuator(SCA_IActuator): """ def getUseRestart(): """ - DEPRECATED + DEPRECATED: use the useRestart property instead Returns True if the scene will be restarted. @rtype: boolean -- cgit v1.2.3