Part: fix Compound2 placement lost after restore

This commit is contained in:
Zheng, Lei
2019-11-26 06:50:51 +08:00
committed by wwmayer
parent 097d5ab64d
commit cc85d1a1d3

View File

@@ -115,6 +115,8 @@ Compound2::Compound2() {
}
void Compound2::onDocumentRestored() {
Base::Placement pla = Placement.getValue();
auto res = execute();
delete res;
Placement.setValue(pla);
}