File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -185,14 +185,14 @@ mixing branching and change in scale.
185185Note that in the case (1) of the warning the first child only takes the "/" link, the others
186186keep their links.
187187"""
188- function new_child_link (node)
188+ function new_child_link (node, verbose = true )
189189
190190 deleted_link = parent (node) |> link
191191 child_link = link (node)
192192
193193 if deleted_link == " +" && child_link == " /"
194194 new_child_link = child_link
195- @warn join (
195+ verbose && @warn join (
196196 [
197197 " Scale of the child node decomposed but its deleted parent was branching." ,
198198 " Keep decomposition, please check if the branching is still correct."
@@ -202,7 +202,7 @@ function new_child_link(node)
202202 new_child_link = deleted_link
203203 elseif deleted_link == " /" && child_link == " +"
204204 new_child_link = child_link
205- @warn join (
205+ verbose && @warn join (
206206 [
207207 " Scale of the child node branched but its deleted parent was decomposing." ,
208208 " Keep branching, please check if the decomposition is still correct."
You can’t perform that action at this time.
0 commit comments