diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-10-22 18:13:13 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-10-22 19:24:10 +0300 |
commit | 816407649aedfaa7836e3aca7629842db732e279 (patch) | |
tree | 201c08308821382d6847f10a0c03902faeb88870 /rigify/rigs/spines/super_spine.py | |
parent | 0e0e8de0de6022c23729e2d139b9aa47324d7122 (diff) |
Rigify: More updates for 2.8 API
With those changes the addon is working in some functional state.
Thus I'm bumping its version to 2.80.
TODOS:
* Handle collections (put all the new objects in a collection).
* We should also replace the old WGT_LAYERS with subcollections.
* Move toolshelf operators out of there (make tools or move to sidebar).
Diffstat (limited to 'rigify/rigs/spines/super_spine.py')
-rw-r--r-- | rigify/rigs/spines/super_spine.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rigify/rigs/spines/super_spine.py b/rigify/rigs/spines/super_spine.py index 115d0450..6d28de69 100644 --- a/rigify/rigs/spines/super_spine.py +++ b/rigify/rigs/spines/super_spine.py @@ -123,11 +123,11 @@ class Rig: setattr(v, axis, scale) if reverse: - tail_vec = v * self.obj.matrix_world + tail_vec = v @ self.obj.matrix_world eb.head[:] = eb.tail eb.tail[:] = eb.head + tail_vec else: - tail_vec = v * self.obj.matrix_world + tail_vec = v @ self.obj.matrix_world eb.tail[:] = eb.head + tail_vec def create_pivot(self, pivot): |