Hi, the following rules generate different results in BrowserSynth and StructureSynth:
{ s 8 ry 30} crate
rule crate {
box
{ s 0.5 x 0.9 z 0.9 y -0.9 h 22} crate2
{ s 0.5 x -0.9 z 0.9 y -0.9 h 44 } crate2
{ s 0.5 x 0.9 z -0.9 y -0.9 h 66} crate2
{ s 0.5 x -0.9 z -0.9 y -0.9 h 88} crate2
}
rule crate2 {
box
{ s 0.5 x 0.9 z 0.9 y -0.9 h 22} crate
{ s 0.5 x -0.9 z 0.9 y -0.9 h 44 } crate
{ s 0.5 x 0.9 z -0.9 y -0.9 h 66} crate
{ s 0.5 x -0.9 z -0.9 y -0.9 h 88} crate
}
Clearly, only one of the four branches are executed. Note that crate
and crate2
do the same thing - but the result is correct only when a single rule is used.
I wonder if this is a bug or an undocumented intentional change?