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>2008-04-09 11:27:37 +0400
committerStephen Swaney <sswaney@centurytel.net>2008-04-09 11:27:37 +0400
commitd30cc5f2d89d553ca4ced2a7030f82e5b1e17aa1 (patch)
tree4bf15bcb61cf9ff7ac175f2c878d53ec757e0c3c /source/blender/python
parent9aa985abe6bc1c2090695eb06c3c0ae1dfe765d2 (diff)
API Doc for new Object attributes trackAxis and upAxis.
contributed by Cedric Paille. Thanks! Fix broken indentation in Constraint doc.
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/api2_2x/doc/Constraint.py9
-rw-r--r--source/blender/python/api2_2x/doc/Object.py4
2 files changed, 8 insertions, 5 deletions
diff --git a/source/blender/python/api2_2x/doc/Constraint.py b/source/blender/python/api2_2x/doc/Constraint.py
index 0f9e4b5e07a..e00851caa36 100644
--- a/source/blender/python/api2_2x/doc/Constraint.py
+++ b/source/blender/python/api2_2x/doc/Constraint.py
@@ -3,7 +3,7 @@
"""
The Blender.Constraint submodule
-B{New}:
+B{New}:
- provides access to Blender's constraint stack
This module provides access to the Constraint Data in Blender.
@@ -38,11 +38,10 @@ Or to print all the constraints attached to each bone in a pose::
@var Settings: Constant dict used for changing constraint settings.
- Used for all single-target constraints
(TRACKTO, FOLLOWPATH, COPYROT, COPYLOC, COPYSIZE, ACTION, LOCKTRACK, STRETCHTO, FLOOR, CLAMPTO, CHILDOF, TRANSFORM, LIMITDIST)
- - TARGET (Object): target object
- - BONE (string): name of Bone sub-target (for Armature targets), or name of Vertex Group sub-target
+ - TARGET (Object): target object
+ - BONE (string): name of Bone sub-target (for Armature targets), or name of Vertex Group sub-target
(for Geometry targets)
- - Used for all multiple-target constraints
- (PYTHON)
+ - Used for all multiple-target constraints (PYTHON)
- TARGET (list of Objects): list of target objects, with one list slot = one target slot
- BONE (list of strings): list of names of Bone sub-target (for Armature targets) or name of Vertex Group
sub-targets (for Geometry targets)
diff --git a/source/blender/python/api2_2x/doc/Object.py b/source/blender/python/api2_2x/doc/Object.py
index 8157045550d..a198ebc8026 100644
--- a/source/blender/python/api2_2x/doc/Object.py
+++ b/source/blender/python/api2_2x/doc/Object.py
@@ -636,6 +636,10 @@ class Object:
@ivar rbShapeBoundType: Rigid body shape bound type. See L{RBShapes}
const dict for values.
@type rbShapeBoundType: int
+ @ivar trackAxis: Track axis. Return string 'X' | 'Y' | 'Z' | '-X' | '-Y' | '-Z' (readonly)
+ @type trackAxis: string
+ @ivar upAxis: Up axis. Return string 'Y' | 'Y' | 'Z' (readonly)
+ @type upAxis: string
"""
def buildParts():