Browse Source

Don't move the original object!

pull/395/head
Adam Johnson 4 months ago
parent
commit
c873cf968b
Signed by: Hoikas
GPG Key ID: 0B6515D6FF6F271E
  1. 1
      korman/exporter/utils.py

1
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),

Loading…
Cancel
Save