PartDesign: Adopt primitive preview

The preview was developed when the "one feature only" visibility rule was not yet introduced. This commit maks it work again.
This commit is contained in:
Stefan Tröger
2016-04-09 10:54:26 +02:00
parent 6bf31e841e
commit 8b0d53358a
4 changed files with 25 additions and 18 deletions

View File

@@ -52,6 +52,12 @@ public:
//visual properties, not the features. Hence setting body mode to true will hide most
//viewprovider properties.
void setBodyMode(bool bodymode);
//makes this viewprovider visible in the scene graph without chaning any properties,
//not the visibility one and also not the display mode. This can be used to show the
//shape of this viewprovider from other viewproviders without doing anything to the
//document and properties.
void makeTemporaryVisible(bool);
protected:
virtual bool setEdit(int ModNum);