make dupliface rotation was wrong.

This commit is contained in:
Campbell Barton 2010-02-10 16:40:02 +00:00
parent f6fe654546
commit 19b5cc3d16

@ -394,7 +394,7 @@ class MakeDupliFace(bpy.types.Operator):
SCALE_FAC = 0.01
offset = 0.5 * SCALE_FAC
base_tri = Vector(-offset, -offset, 0.0), Vector(-offset, offset, 0.0), Vector(offset, offset, 0.0), Vector(offset, -offset, 0.0)
base_tri = Vector(-offset, -offset, 0.0), Vector(offset, -offset, 0.0), Vector(offset, offset, 0.0), Vector(-offset, offset, 0.0)
def matrix_to_quat(matrix):
# scale = matrix.median_scale