From 2a0afc98ca0a714847c482f8fde433c8ada761eb Mon Sep 17 00:00:00 2001 From: Matti Virkkunen Date: Wed, 26 Jul 2023 10:42:34 +0300 Subject: [PATCH] Make default_tag use its second argument --- attachments.scad | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/attachments.scad b/attachments.scad index 1bea2a9..47d409c 100644 --- a/attachments.scad +++ b/attachments.scad @@ -862,9 +862,9 @@ module force_tag(tag) // position(TOP) thing(); // position(RIGHT) tag("keep_it") thing(); // } -module default_tag(tag,do_tag=false) +module default_tag(tag,do_tag=true) { - if ($tag=="") tag(tag) children(); + if ($tag=="" && do_tag) tag(tag) children(); else children(); }