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
path: root/doc
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@stuvel.eu>2015-04-06 18:11:36 +0300
committerSybren A. Stüvel <sybren@stuvel.eu>2015-04-06 18:11:36 +0300
commit3e5332bb959c686cb5bc5b6007d96088d5d1bc23 (patch)
treee2295e3268f8e8db5bc2c202fe7d22e2e032eca4 /doc
parentd0aae79505ad2542677c0b4ed791e88a613c597e (diff)
BGE: fixed nomenclature of KX_Scene::addObject and KX_Scene::AddReplicaObject
KX_Scene::addObject: Changed the parameter "other" to "reference", as "other" doesn't mean anything. KX_Scene::AddReplicaObject: Changed the parameter "parentobject" to "referenceobject", as the parameter did NOT contain a parent object in any way. Now both functions use the same kind of name for the same thing. Thanks to panzergame / Porteries Tristan.
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/rst/bge_types/bge.types.KX_Scene.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/python_api/rst/bge_types/bge.types.KX_Scene.rst b/doc/python_api/rst/bge_types/bge.types.KX_Scene.rst
index 255ff95ad37..a6135054058 100644
--- a/doc/python_api/rst/bge_types/bge.types.KX_Scene.rst
+++ b/doc/python_api/rst/bge_types/bge.types.KX_Scene.rst
@@ -131,14 +131,14 @@ base class --- :class:`PyObjectPlus`
:type: Vector((gx, gy, gz))
- .. method:: addObject(object, other, time=0)
+ .. method:: addObject(object, reference, time=0)
Adds an object to the scene like the Add Object Actuator would.
- :arg object: The object to add
+ :arg object: The (name of the) object to add.
:type object: :class:`KX_GameObject` or string
- :arg other: The object's center to use when adding the object
- :type other: :class:`KX_GameObject` or string
+ :arg reference: The (name of the) object which position, orientation, and scale to copy.
+ :type reference: :class:`KX_GameObject` or string
:arg time: The lifetime of the added object, in frames. A time of 0 means the object will last forever.
:type time: integer
:return: The newly added object.