Rewrite coordinate offset to use np.array not Vector() for precision

This commit is contained in:
Dion Moult
2024-09-27 23:08:54 +10:00
parent 9f02737a2e
commit 4261fdbed6
5 changed files with 41 additions and 32 deletions
@@ -83,7 +83,7 @@ def add_representation(
"context": context,
"blender_object": blender_object,
"geometry": geometry,
"coordinate_offset": coordinate_offset,
"coordinate_offset": Vector(coordinate_offset) if coordinate_offset is not None else None,
"total_items": total_items,
"unit_scale": unit_scale,
"should_force_faceted_brep": should_force_faceted_brep,