diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-10-27 02:38:15 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-10-27 02:38:15 +0400 |
commit | 0e94605a9084f3f1d97d739f4dc8e42d24f5e9c5 (patch) | |
tree | c6867a5322599689e57c1ddf39da89b5dbe5fb71 /source/blender/python/api2_2x/doc | |
parent | ddb8120e03e83b1d45e7e69869a55134dc0060fa (diff) |
==Python API==
layerMask access for pose bones, even though this is a Bone property, its much more convenient to add access from the poseBone, it also matches how the
user interface works.
Diffstat (limited to 'source/blender/python/api2_2x/doc')
-rw-r--r-- | source/blender/python/api2_2x/doc/Pose.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/doc/Pose.py b/source/blender/python/api2_2x/doc/Pose.py index e0c0c241044..ad1b44da5e2 100644 --- a/source/blender/python/api2_2x/doc/Pose.py +++ b/source/blender/python/api2_2x/doc/Pose.py @@ -217,7 +217,11 @@ class PoseBone: @ivar lockYRot: Disable Y DoF when part of an IK. @type lockZRot: bool @ivar lockZRot: Disable Z DoF when part of an IK. - + @ivar layerMask: Layer bitmask + Example:: + # set bone to layers 14 and 16 + bone.layerMask = (1<<13) + (1<<15) + @type layerMask: Int """ def insertKey(parentObject, frameNumber, type = "[Pose.LOC, Pose.ROT, Pose.SIZE]", fast = False): |