Skip to content

Commit

Permalink
0004441: Changing Placement of a App::Part that contains a Part::Feat…
Browse files Browse the repository at this point in the history
…urePython causes drawing of a ghost object at original Placement [skip ci]
  • Loading branch information
wwmayer committed Sep 24, 2020
1 parent a3cd010 commit 3c7ae4f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Gui/ViewProviderPythonFeature.h
Expand Up @@ -504,8 +504,7 @@ class ViewProviderPythonFeatureT : public ViewProviderT
ViewProviderT::setOverrideMode(viewerMode);
}
if (!this->testStatus(Gui::isRestoring) &&
ViewProviderT::canAddToSceneGraph() &&
imp->canAddToSceneGraph() == ViewProviderPythonFeatureImp::NotImplemented) {
!canAddToSceneGraph()) {
this->getDocument()->toggleInSceneGraph(this);
}
ViewProviderT::updateView();
Expand Down

0 comments on commit 3c7ae4f

Please sign in to comment.