mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 19:28:12 +00:00
Merge pull request #7412 from penpot/elenatorro-fix-loop-all-ancestors
🐛 Break loop when no parent is present
This commit is contained in:
commit
bd4d576172
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user