PD: add SelectionFilterGate to filter dependents, fix mirror taskview

This commit is contained in:
Sergo
2016-10-11 20:58:27 -04:00
committed by wmayer
parent f880202fe6
commit e1a50ca414
5 changed files with 35 additions and 22 deletions

View File

@@ -223,7 +223,7 @@ TaskDatumParameters::TaskDatumParameters(ViewProviderDatum *DatumView,QWidget *p
DatumView->setPickable(false);
Gui::Selection().addSelectionGate(new NoDependentsSelection(DatumView->getObject(), true, true, true, true));
Gui::Selection().addSelectionGate(new NoDependentsSelection(DatumView->getObject()));
// connect object deletion with slot
auto bnd = boost::bind(&TaskDatumParameters::objectDeleted, this, _1);