diff --git a/yabee_libs/egg_writer.py b/yabee_libs/egg_writer.py index 9c7743b..93f58cb 100644 --- a/yabee_libs/egg_writer.py +++ b/yabee_libs/egg_writer.py @@ -307,7 +307,7 @@ def collect_vertices(self): idx = 0 for spline in self.obj_ref.data.splines: for vtx in spline.points: - co = self.obj_ref.matrix_world * vtx.co + co = self.obj_ref.matrix_world @ vtx.co fixed_co = tuple(map(lambda x: x * co[3], co[:3])) + (co[3],) vertices.append(' %i {\n %s\n}\n' % (idx, ' '.join(map(STRF, fixed_co))))