diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-09-18 09:20:43 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-09-18 09:20:43 +0400 |
commit | b6631b8be74070562b4eb2c4230c7b6ffab92f4b (patch) | |
tree | f4158695369100f72999d383cc860df9603245ac /release/scripts/modules/bpy_types.py | |
parent | dc4cded2c22656828499831f13471506ed59fc0a (diff) |
fixes for python api docs.
also move foreach_get/set examples into their own py example files (prefer not to have example code built into blenders binary).
Diffstat (limited to 'release/scripts/modules/bpy_types.py')
-rw-r--r-- | release/scripts/modules/bpy_types.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/release/scripts/modules/bpy_types.py b/release/scripts/modules/bpy_types.py index f8870cbe705..819d3e112ff 100644 --- a/release/scripts/modules/bpy_types.py +++ b/release/scripts/modules/bpy_types.py @@ -219,8 +219,9 @@ class _GenericBone: @property def length(self): - """ The distance from head to tail, - when set the head is moved to fit the length. + """ + The distance from head to tail, + when set the head is moved to fit the length. """ return self.vector.length @@ -230,8 +231,9 @@ class _GenericBone: @property def vector(self): - """ The direction this bone is pointing. - Utility function for (tail - head) + """ + The direction this bone is pointing. + Utility function for (tail - head) """ return (self.tail - self.head) |