Revert "[PartDesign] Add Material property to Body"

This reverts commit 4fcf8f199c.

There is no need to make this a static property because it can be added at runtime via Python or the GUI
This commit is contained in:
wmayer
2021-03-04 18:50:57 +01:00
parent 7b87cc8a74
commit f85478155b
2 changed files with 0 additions and 9 deletions

View File

@@ -44,7 +44,6 @@ BodyBase::BodyBase()
Tip.setScope(App::LinkScope::Child);
ADD_PROPERTY(BaseFeature , (0) );
ADD_PROPERTY_TYPE(Material, (0), 0, App::Prop_None, "The Material for this Part");
App::OriginGroupExtension::initExtension(this);
}

View File

@@ -57,14 +57,6 @@ public:
*/
App::PropertyLink BaseFeature;
/**
* A material card this body is associated with
*
*/
App::PropertyLink Material;
/// Returns all Group objects prepanded by BaseFeature (if any)
std::vector<App::DocumentObject *> getFullModel () {
std::vector<App::DocumentObject *> rv;