Revert "[PartDesign] Add Material property to Body"

This reverts commit 92db97a26dbdd5c2210df39dd08a716faf6102f6.

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 78ce247a29
commit 9add6e2c9a
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;