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:
authorpaul szajner <szap>2019-05-13 12:27:11 +0300
committerJacques Lucke <mail@jlucke.com>2019-05-13 12:28:39 +0300
commita863bfffb158c96afd32a07fb6f83c781b5c0d5b (patch)
treeb88e83c2b8d12fccaf1a6dd42ee76e93079b128f /io_anim_nuke_chan/import_nuke_chan.py
parent73284d0a2d61a86cbe176271d051801c5b6134d5 (diff)
Update 'Nuke Animation Format' to Blender 2.8
Differential Revision: https://developer.blender.org/D4844
Diffstat (limited to 'io_anim_nuke_chan/import_nuke_chan.py')
-rw-r--r--io_anim_nuke_chan/import_nuke_chan.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/io_anim_nuke_chan/import_nuke_chan.py b/io_anim_nuke_chan/import_nuke_chan.py
index c21265d0..3f9793ab 100644
--- a/io_anim_nuke_chan/import_nuke_chan.py
+++ b/io_anim_nuke_chan/import_nuke_chan.py
@@ -72,12 +72,12 @@ def read_chan(context, filepath, z_up, rot_ord, sensor_width, sensor_height):
mrot_mat.resize_4x4()
# merge the rotation and translation
- m_trans_mat = translation_mat * mrot_mat
+ m_trans_mat = translation_mat @ mrot_mat
# correct the world space
# (nuke's and blenders scene spaces are different)
if z_up:
- m_trans_mat = rot_mat * m_trans_mat
+ m_trans_mat = rot_mat @ m_trans_mat
# break the matrix into a set of the coordinates
trns = m_trans_mat.decompose()