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:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user