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:
authorStephen Swaney <sswaney@centurytel.net>2005-04-02 21:01:56 +0400
committerStephen Swaney <sswaney@centurytel.net>2005-04-02 21:01:56 +0400
commit2e9f9e90a6efe1d0ce0859720336afae1fd4447b (patch)
tree3dd840617348304e67157d8c77cd5c904baca62e /source/blender/python/api2_2x/doc
parent8b3c8698a8991e1cd0943a7171f8dedde47e547e (diff)
A little housekeeping:
Object.c - expand evil 1 character name. nicer error msg. doc/Object.py - clarify Object.getData() doc
Diffstat (limited to 'source/blender/python/api2_2x/doc')
-rw-r--r--source/blender/python/api2_2x/doc/Object.py11
1 files changed, 4 insertions, 7 deletions
diff --git a/source/blender/python/api2_2x/doc/Object.py b/source/blender/python/api2_2x/doc/Object.py
index b40090a94f6..abbc1f0a484 100644
--- a/source/blender/python/api2_2x/doc/Object.py
+++ b/source/blender/python/api2_2x/doc/Object.py
@@ -188,14 +188,11 @@ class Object:
def getData(name_only = False):
"""
- Returns the Datablock object (new: or just its name) containing the
- object's data. For example the Mesh, Lamp or the Camera.
+ Returns the Datablock object (Mesh, Lamp, Camera, etc.) linked to this Object. If the keyword parameter 'name_only' is True, only the Datablock name is returned as a string.
@type name_only: bool
- @param name_only: if True on nonzero, only the name of the data object
- is returned.
- @rtype: Object type specific or string
- @return: Depending on the type of the Object, it returns a specific object
- for the data requested. If name_only is True, it returns a string.
+ @param name_only: This is a keyword parameter. if True (or nonzero), only the name of the data object is returned. The default value is False.
+ @rtype: specific Object type or string
+ @return: Depends on the type of Datablock linked to the Object. If name_only is True, it returns a string.
"""
def getDeltaLocation():