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>2009-12-10 17:32:37 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-12-10 17:32:37 +0300
commit5c5ec6f0a724c5bbc4179f08a53d4dc70e8fdbed (patch)
tree3da9127049aaa3f6c8a0baf6e508ad77b5c45ac8 /release/scripts/modules/rigify_utils.py
parentaaa181818ec61979d21f2a1ff579b031b62ebbf9 (diff)
fix for some errors and local root bone override
Diffstat (limited to 'release/scripts/modules/rigify_utils.py')
-rw-r--r--release/scripts/modules/rigify_utils.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/release/scripts/modules/rigify_utils.py b/release/scripts/modules/rigify_utils.py
index 9407c4e5875..5061248c35d 100644
--- a/release/scripts/modules/rigify_utils.py
+++ b/release/scripts/modules/rigify_utils.py
@@ -25,6 +25,13 @@
# for rigify so in some cases seemingly generic functions make assumptions
# that a generic function would need to check for.
+import bpy
+from Mathutils import Vector
+from rna_prop_ui import rna_idprop_ui_prop_get
+
+DELIMITER = '-._'
+EMPTY_LAYER = [False] * 32
+
def add_stretch_to(obj, from_name, to_name, name):
'''
Adds a bone that stretches from one to another