From 429ed81293833540a26572de0dc0f20eb05ab698 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 7 Dec 2022 23:58:59 +0100 Subject: [PATCH] added finishshape before clone_shape as it could damage the previous shape --- 3d-models.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/3d-models.cpp b/3d-models.cpp index edd5d06e..055ede4e 100644 --- a/3d-models.cpp +++ b/3d-models.cpp @@ -596,6 +596,7 @@ void geometry_information::make_revolution_cut(hpcshape &sh, int each, ld push, } void geometry_information::clone_shape(hpcshape& sh, hpcshape& target) { + finishshape(); target = sh; target.s = isize(hpc); for(int i=sh.s; i