PartDesign: Port body to be a origin group
This commit is contained in:
@@ -179,7 +179,7 @@ void ViewProvider::onChanged(const App::Property* prop) {
|
||||
if(body) {
|
||||
|
||||
//hide all features in the body other than this object
|
||||
for(App::DocumentObject* obj : body->Model.getValues()) {
|
||||
for(App::DocumentObject* obj : body->Group.getValues()) {
|
||||
|
||||
if(obj->isDerivedFrom(PartDesign::Feature::getClassTypeId()) && obj != getObject()) {
|
||||
Gui::ViewProvider* vp = Gui::Application::Instance->activeDocument()->getViewProvider(obj);
|
||||
|
||||
Reference in New Issue
Block a user