handle clip views

This commit is contained in:
donovaly
2020-03-06 01:35:59 +01:00
committed by WandererFan
parent 2ea0c79cde
commit 26e88f208d
2 changed files with 10 additions and 2 deletions

View File

@@ -122,6 +122,14 @@ bool ViewProviderViewClip::isShow(void) const
return Visibility.getValue();
}
bool ViewProviderViewClip::canDelete(App::DocumentObject *obj) const
{
// deletions of Clip objects don't destroy anything
// thus we can pass this action
Q_UNUSED(obj)
return true;
}
TechDraw::DrawViewClip* ViewProviderViewClip::getViewObject() const
{
return dynamic_cast<TechDraw::DrawViewClip*>(pcObject);