[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [21911] trunk/blender/source/gameengine/ PyDoc/GameTypes.py: forgot to add docs, 2 new optional args.
Campbell Barton
ideasman42 at gmail.com
Sun Jul 26 03:38:59 CEST 2009
Revision: 21911
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21911
Author: campbellbarton
Date: 2009-07-26 03:38:55 +0200 (Sun, 26 Jul 2009)
Log Message:
-----------
forgot to add docs, 2 new optional args.
gameOb.replaceMesh(mesh, useDisplayMesh=True, usePhysicsMesh=False)
Modified Paths:
--------------
trunk/blender/source/gameengine/PyDoc/GameTypes.py
Modified: trunk/blender/source/gameengine/PyDoc/GameTypes.py
===================================================================
--- trunk/blender/source/gameengine/PyDoc/GameTypes.py 2009-07-26 01:32:37 UTC (rev 21910)
+++ trunk/blender/source/gameengine/PyDoc/GameTypes.py 2009-07-26 01:38:55 UTC (rev 21911)
@@ -1642,10 +1642,14 @@
Delete this object, can be used inpace of the EndObject Actuator.
The actual removal of the object from the scene is delayed.
"""
- def replaceMesh(mesh):
+ def replaceMesh(mesh, useDisplayMesh=True, usePhysicsMesh=False):
"""
Replace the mesh of this object with a new mesh. This works the same was as the actuator.
@type mesh: L{KX_MeshProxy} or mesh name
+ @type useDisplayMesh: bool
+ @param useDisplayMesh: when enabled the display mesh will be replaced (optional argument).
+ @type usePhysicsMesh: bool
+ @param usePhysicsMesh: when enabled the physics mesh will be replaced (optional argument).
"""
def getVisible():
"""
More information about the Bf-blender-cvs
mailing list