Transform patterns can be created from multiple base features

The infrastructure/piping seems to have been in place for a long while.
Not tested for all variations of pattern transforms.
The major enabler was removing the `break`.
Some extra piping added to let the code at call-site decide if to select multiple features or not.
This commit is contained in:
Pierre LeMoine
2020-12-31 05:19:30 +01:00
committed by wmayer
parent ce7b57a08f
commit 7999536858
4 changed files with 14 additions and 7 deletions

View File

@@ -286,7 +286,7 @@ void CmdPartDesignBody::activated(int iMsg)
Gui::TaskView::TaskDialog *dlg = Gui::Control().activeDialog();
if (!dlg) {
Gui::Selection().clearSelection();
Gui::Control().showDialog(new PartDesignGui::TaskDlgFeaturePick(planes, status, accepter, worker, quitter));
Gui::Control().showDialog(new PartDesignGui::TaskDlgFeaturePick(planes, status, accepter, worker, true, quitter));
}
}
}