Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gavrilov <angavrilov@gmail.com>2019-10-22 13:50:15 +0300
committerAlexander Gavrilov <angavrilov@gmail.com>2019-10-23 13:17:04 +0300
commit4625dfb9e74a317c072389357cda89d2a0605d7e (patch)
tree44d70be518ea93f159c48a5a3d92f30c6cee5336 /rigify/rig_ui_template.py
parent1d656f36618e5f2d5b1f7d0ff86e87ca6e705be4 (diff)
Rigify: make the generic FK to IK snap operator even more generic.
The operator itself simply snaps a chain of bones to a different chain, so nothing in it in fact is specific to IK or FK. To make this even more explicit, rename the operator and add some extra options to control the tooltip and which properties are changed. Also include some other minor enhancements in the script utilities.
Diffstat (limited to 'rigify/rig_ui_template.py')
-rw-r--r--rigify/rig_ui_template.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/rigify/rig_ui_template.py b/rigify/rig_ui_template.py
index 888f6871..bb5a9cbd 100644
--- a/rigify/rig_ui_template.py
+++ b/rigify/rig_ui_template.py
@@ -36,6 +36,7 @@ UI_IMPORTS = [
'import math',
'import json',
'import collections',
+ 'import traceback',
'from math import pi',
'from bpy.props import StringProperty',
'from mathutils import Euler, Matrix, Quaternion, Vector',