Part: fix Compound2 placement lost after restore
This commit is contained in:
@@ -115,6 +115,8 @@ Compound2::Compound2() {
|
||||
}
|
||||
|
||||
void Compound2::onDocumentRestored() {
|
||||
Base::Placement pla = Placement.getValue();
|
||||
auto res = execute();
|
||||
delete res;
|
||||
Placement.setValue(pla);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user