diff --git a/render-wasm/src/shapes.rs b/render-wasm/src/shapes.rs index 9bfc427073..b018435ef5 100644 --- a/render-wasm/src/shapes.rs +++ b/render-wasm/src/shapes.rs @@ -929,6 +929,7 @@ impl Shape { // FIXME: This should panic! I've removed it temporarily until // we fix the problems with shapes without parents. // panic!("Parent can't be found"); + break; } } @@ -957,6 +958,7 @@ impl Shape { // FIXME: This should panic! I've removed it temporarily until // we fix the problems with shapes without parents. // panic!("Parent can't be found"); + break; } } matrix