Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-05-03 13:21:58 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-05-03 13:21:58 +0400
commit22b501c7917e8e209aab2dee02101286b7ecc45f (patch)
tree832aae982e875475c2781bdf49b1cd8633194056 /source/gameengine/PyDoc
parentb0ec497f39cb7aa7df1f7936418b443aeefbaade (diff)
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.
Diffstat (limited to 'source/gameengine/PyDoc')
-rw-r--r--source/gameengine/PyDoc/KX_SceneActuator.py6
1 files changed, 4 insertions, 2 deletions
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