diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-09-10 19:03:40 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-09-10 19:03:40 +0300 |
commit | defbe140772d27de5cffeaf7af2abbd0a492d7eb (patch) | |
tree | cd87f99a89f88d963fe6b7ef86ddd4120a85f39d /release/scripts/modules/bpy_extras/object_utils.py | |
parent | fc95efec06640e7662e5a13e50a056b789e90d7c (diff) |
Fix object_utils.py's matrix multiplication (use new @ syntax).
Diffstat (limited to 'release/scripts/modules/bpy_extras/object_utils.py')
-rw-r--r-- | release/scripts/modules/bpy_extras/object_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/modules/bpy_extras/object_utils.py b/release/scripts/modules/bpy_extras/object_utils.py index c9ea684862d..ab32daa9d67 100644 --- a/release/scripts/modules/bpy_extras/object_utils.py +++ b/release/scripts/modules/bpy_extras/object_utils.py @@ -308,7 +308,7 @@ def world_to_camera_view(scene, obj, coord): """ from mathutils import Vector - co_local = obj.matrix_world.normalized().inverted() * coord + co_local = obj.matrix_world.normalized().inverted() @ coord z = -co_local.z camera = obj.data |