From df8ef799cbc19767a7cea0f24348be6a32d22300 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Fri, 23 May 2025 18:23:21 -0700 Subject: [PATCH] dont need to flush fillets on transform Signed-off-by: Jess Frazelle --- rust/kcl-lib/src/std/transform.rs | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/rust/kcl-lib/src/std/transform.rs b/rust/kcl-lib/src/std/transform.rs index 56cc8b0d9c..a421b05a4f 100644 --- a/rust/kcl-lib/src/std/transform.rs +++ b/rust/kcl-lib/src/std/transform.rs @@ -166,12 +166,6 @@ async fn inner_scale( exec_state: &mut ExecState, args: Args, ) -> Result { - // If we have a solid, flush the fillets and chamfers. - // Only transforms needs this, it is very odd, see: https://github.com/KittyCAD/modeling-app/issues/5880 - if let SolidOrSketchOrImportedGeometry::SolidSet(solids) = &objects { - args.flush_batch_for_solids(exec_state, solids).await?; - } - let mut objects = objects.clone(); for object_id in objects.ids(&args.ctx).await? { let id = exec_state.next_uuid(); @@ -396,12 +390,6 @@ async fn inner_translate( exec_state: &mut ExecState, args: Args, ) -> Result { - // If we have a solid, flush the fillets and chamfers. - // Only transforms needs this, it is very odd, see: https://github.com/KittyCAD/modeling-app/issues/5880 - if let SolidOrSketchOrImportedGeometry::SolidSet(solids) = &objects { - args.flush_batch_for_solids(exec_state, solids).await?; - } - let mut objects = objects.clone(); for object_id in objects.ids(&args.ctx).await? { let id = exec_state.next_uuid(); @@ -804,12 +792,6 @@ async fn inner_rotate( exec_state: &mut ExecState, args: Args, ) -> Result { - // If we have a solid, flush the fillets and chamfers. - // Only transforms needs this, it is very odd, see: https://github.com/KittyCAD/modeling-app/issues/5880 - if let SolidOrSketchOrImportedGeometry::SolidSet(solids) = &objects { - args.flush_batch_for_solids(exec_state, solids).await?; - } - let mut objects = objects.clone(); for object_id in objects.ids(&args.ctx).await? { let id = exec_state.next_uuid();