make constaints and group not greyed in tree
This commit is contained in:
parent
61430e67e1
commit
46700422fd
|
@ -34,6 +34,9 @@ class AssemblyGuiExport ViewProviderConstraintAlignment : public Gui::ViewProvid
|
|||
|
||||
public:
|
||||
ViewProviderConstraintAlignment();
|
||||
|
||||
/// checks whether the view provider is visible or not in tree
|
||||
virtual bool isShow(void) const {return true;};
|
||||
|
||||
};
|
||||
|
||||
|
|
|
@ -35,6 +35,8 @@ class AssemblyGuiExport ViewProviderConstraintAngle : public Gui::ViewProviderDo
|
|||
public:
|
||||
ViewProviderConstraintAngle();
|
||||
|
||||
/// checks whether the view provider is visible or not in tree
|
||||
virtual bool isShow(void) const {return true;};
|
||||
};
|
||||
|
||||
};
|
||||
|
|
|
@ -35,6 +35,8 @@ class AssemblyGuiExport ViewProviderConstraintCoincidence : public Gui::ViewProv
|
|||
public:
|
||||
ViewProviderConstraintCoincidence();
|
||||
|
||||
/// checks whether the view provider is visible or not in tree
|
||||
virtual bool isShow(void) const {return true;};
|
||||
};
|
||||
|
||||
};
|
||||
|
|
|
@ -35,6 +35,8 @@ class AssemblyGuiExport ViewProviderConstraintDistance : public Gui::ViewProvide
|
|||
public:
|
||||
ViewProviderConstraintDistance();
|
||||
|
||||
/// checks whether the view provider is visible or not in tree
|
||||
virtual bool isShow(void) const {return true;};
|
||||
};
|
||||
|
||||
};
|
||||
|
|
|
@ -35,6 +35,8 @@ class AssemblyGuiExport ViewProviderConstraintFix : public Gui::ViewProviderDocu
|
|||
public:
|
||||
ViewProviderConstraintFix();
|
||||
|
||||
/// checks whether the view provider is visible or not in tree
|
||||
virtual bool isShow(void) const {return true;};
|
||||
};
|
||||
|
||||
};
|
||||
|
|
|
@ -57,7 +57,7 @@ void ViewProviderConstraintGroup::attach(App::DocumentObject *pcFeat)
|
|||
|
||||
|
||||
// putting all together with the switch
|
||||
// addDisplayMaskMode(getChildRoot(), "Main");
|
||||
//addDisplayMaskMode(getChildRoot(), "Main");
|
||||
}
|
||||
|
||||
void ViewProviderConstraintGroup::setDisplayMode(const char* ModeName)
|
||||
|
|
|
@ -46,8 +46,10 @@ public:
|
|||
virtual std::vector<std::string> getDisplayModes(void) const;
|
||||
|
||||
virtual std::vector<App::DocumentObject*> claimChildren(void)const;
|
||||
|
||||
virtual std::vector<App::DocumentObject*> claimChildren3D(void)const;
|
||||
|
||||
/// checks whether the view provider is visible or not in tree
|
||||
virtual bool isShow(void) const {return true;};
|
||||
|
||||
};
|
||||
|
||||
|
|
|
@ -35,6 +35,8 @@ class AssemblyGuiExport ViewProviderConstraintOrientation : public Gui::ViewProv
|
|||
public:
|
||||
ViewProviderConstraintOrientation();
|
||||
|
||||
/// checks whether the view provider is visible or not in tree
|
||||
virtual bool isShow(void) const {return true;};
|
||||
};
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user