mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
🐛 Break loop when no parent is present
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user