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:
authorCampbell Barton <ideasman42@gmail.com>2013-09-18 09:20:43 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-09-18 09:20:43 +0400
commitb6631b8be74070562b4eb2c4230c7b6ffab92f4b (patch)
treef4158695369100f72999d383cc860df9603245ac /release/scripts/modules/bpy_types.py
parentdc4cded2c22656828499831f13471506ed59fc0a (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.py10
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)