Allow GroupExtension as Source for Views

- DrawViewPart had special case logic for App::Part.
  It now handles DocumentObjectGroup and any other
  GroupExtensions as Source.
This commit is contained in:
WandererFan
2018-01-18 18:50:08 -05:00
committed by wmayer
parent d31f2e25b0
commit 4f2fe1d1a5
5 changed files with 35 additions and 115 deletions

View File

@@ -67,8 +67,6 @@ public:
virtual void onChanged(const App::Property* prop) override;
//@}
virtual TopoDS_Shape getSourceShape(void) const override;
/// returns the type name of the ViewProvider
virtual const char* getViewProviderName(void) const override {
return "TechDrawGui::ViewProviderViewPart";