From c873cf968b94cfbafcce47faaadf28de4c135501 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Mon, 15 Jan 2024 18:47:50 -0500 Subject: [PATCH] Don't move the original object! --- korman/exporter/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/korman/exporter/utils.py b/korman/exporter/utils.py index 73c3aef..a8c35c8 100644 --- a/korman/exporter/utils.py +++ b/korman/exporter/utils.py @@ -150,6 +150,7 @@ def create_box_region( with region_object as bm: center = owner_object.matrix_world.translation if origin == RegionOrigin.bottom: + center = center.copy() center.z += size.z * 0.5 vert_src = [ (center.x + size.x * 0.5, center.y + size.y * 0.5, center.z + size.z * 0.5),