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>2008-09-05 06:53:12 +0400
committerCampbell Barton <ideasman42@gmail.com>2008-09-05 06:53:12 +0400
commite3a1547eea2b76daa30ccd9405868f8e5f2a1bc4 (patch)
tree124785952e5b78049ebeb6f1ba9cdfa3c9da938d /source/gameengine/PyDoc
parent3c95d91a575d44842d7ee2a3406a9222bf11451c (diff)
BGE Py API
added exception messages for replaceMesh.setMesh() and allowed None as an argument. added exception messages for other BGE module functions.
Diffstat (limited to 'source/gameengine/PyDoc')
-rw-r--r--source/gameengine/PyDoc/KX_SCA_ReplaceMeshActuator.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/gameengine/PyDoc/KX_SCA_ReplaceMeshActuator.py b/source/gameengine/PyDoc/KX_SCA_ReplaceMeshActuator.py
index eb00a91a4ce..498f6072e23 100644
--- a/source/gameengine/PyDoc/KX_SCA_ReplaceMeshActuator.py
+++ b/source/gameengine/PyDoc/KX_SCA_ReplaceMeshActuator.py
@@ -59,8 +59,9 @@ class KX_SCA_ReplaceMeshActuator(SCA_IActuator):
def setMesh(name):
"""
Sets the name of the mesh that will replace the current one.
+ When the name is None it will unset the mesh value so no action is taken.
- @type name: string
+ @type name: string or None
"""
def getMesh():
"""
@@ -68,6 +69,6 @@ class KX_SCA_ReplaceMeshActuator(SCA_IActuator):
Returns None if no mesh has been scheduled to be added.
- @rtype: string
+ @rtype: string or None
"""