diff --git a/io_anim_nuke_chan/__init__.py b/io_anim_nuke_chan/__init__.py index f562244ea5a6460290d1c1760b3e8924b0ed610c..48da8b1d0bd26ca5f47f040857c719ec86d243b4 100644 --- a/io_anim_nuke_chan/__init__.py +++ b/io_anim_nuke_chan/__init__.py @@ -22,7 +22,7 @@ bl_info = { "name": "Nuke Animation Format (.chan)", "author": "Michael Krupa", "version": (1, 0), - "blender": (2, 61, 0), + "blender": (2, 80, 0), "location": "File > Import/Export > Nuke (.chan)", "description": "Import/Export object's animation with nuke", "warning": "", diff --git a/io_anim_nuke_chan/export_nuke_chan.py b/io_anim_nuke_chan/export_nuke_chan.py index 034ce6d94f7f4c8236b0cf9bb8c0ad053bf17cf2..d1c9a9b4565360b93d3e69752a71c32a6f939ca4 100644 --- a/io_anim_nuke_chan/export_nuke_chan.py +++ b/io_anim_nuke_chan/export_nuke_chan.py @@ -55,7 +55,7 @@ def save_chan(context, filepath, y_up, rot_ord): # if the setting is proper use the rotation matrix # to flip the Z and Y axis if y_up: - mat = rot_mat * mat + mat = rot_mat @ mat # create the first component of a new line, the frame number fw("%i\t" % frame) diff --git a/io_anim_nuke_chan/import_nuke_chan.py b/io_anim_nuke_chan/import_nuke_chan.py index c21265d0aca9a69afa2da49277ba6523d996c894..3f9793abc74a160ba4904dd06009542b663542c3 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()