mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 16:29:40 +00:00
Make default_tag use its second argument
This commit is contained in:
parent
17f0fe8428
commit
2a0afc98ca
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue