Fix object_utils.py's matrix multiplication (use new @ syntax).

This commit is contained in:
Bastien Montagne 2018-09-10 18:03:40 +02:00
parent fc95efec06
commit defbe14077
1 changed files with 1 additions and 1 deletions

View File

@ -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