diff options
author | meta-androcto <meta.androcto1@gmail.com> | 2019-02-19 07:19:22 +0300 |
---|---|---|
committer | meta-androcto <meta.androcto1@gmail.com> | 2019-02-19 07:19:22 +0300 |
commit | 787d786cb8e7230c585dd55c03bd27ffdb160e8d (patch) | |
tree | 1a454f8c2eae8d9e61887be97d8302d5f15eaad8 | |
parent | 0b2d51126c5fbeebb313ebd791fbbbf79b927f8d (diff) |
looptools Matrix Multiplication Fix: T61698
-rw-r--r-- | mesh_looptools.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesh_looptools.py b/mesh_looptools.py index 97470147..a555a3eb 100644 --- a/mesh_looptools.py +++ b/mesh_looptools.py @@ -299,9 +299,9 @@ def calculate_plane(bm_mod, loop, method="best_fit", object=False): # calculate view normal rotation = bpy.context.space_data.region_3d.view_matrix.to_3x3().\ inverted() - normal = rotation * mathutils.Vector((0.0, 0.0, 1.0)) + normal = rotation @ mathutils.Vector((0.0, 0.0, 1.0)) if object: - normal = object.matrix_world.inverted().to_euler().to_matrix() * \ + normal = object.matrix_world.inverted().to_euler().to_matrix() @ \ normal return(com, normal) |