Fix T56838: Quick smoke failing with Python error.

Again the change to @ operator for matrix multiplication...
This commit is contained in:
Bastien Montagne 2018-09-19 10:32:58 +02:00
parent eab3ca7348
commit 2be5621be8
Notes: blender-bot 2023-02-14 19:26:36 +01:00
Referenced by issue blender/blender-addons#56838, Quick smoke failing with Python error
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ class QuickExplode(Operator):
def obj_bb_minmax(obj, min_co, max_co):
for i in range(0, 8):
bb_vec = obj.matrix_world * Vector(obj.bound_box[i])
bb_vec = obj.matrix_world @ Vector(obj.bound_box[i])
min_co[0] = min(bb_vec[0], min_co[0])
min_co[1] = min(bb_vec[1], min_co[1])