Fix Symbol fail to paint

- calls ViewProviderDocumentObject, but should call
  ViewProviderViewPart in order to receive repaint
  signals.
This commit is contained in:
WandererFan
2017-09-16 09:59:37 -04:00
committed by wmayer
parent e61d2b5d13
commit 89b29504dd

View File

@@ -68,7 +68,7 @@ ViewProviderViewSection::~ViewProviderViewSection()
void ViewProviderViewSection::attach(App::DocumentObject *pcFeat)
{
// call parent attach method
ViewProviderDocumentObject::attach(pcFeat);
ViewProviderViewPart::attach(pcFeat);
}
void ViewProviderViewSection::setDisplayMode(const char* ModeName)