Assembly: Fix isolate not working on sub assembly components
This commit is contained in:
committed by
Kacper Donat
parent
92dbaad9db
commit
212e4f07af
@@ -1422,6 +1422,7 @@ void ViewProviderAssembly::applyIsolationRecursively(
|
||||
for (auto* child : group->Group.getValues()) {
|
||||
applyIsolationRecursively(child, isolateSet, mode, visited);
|
||||
}
|
||||
return;
|
||||
}
|
||||
else if (auto* part = dynamic_cast<App::Part*>(current)) {
|
||||
// As App::Part currently don't have material override
|
||||
@@ -1437,6 +1438,7 @@ void ViewProviderAssembly::applyIsolationRecursively(
|
||||
for (auto* child : part->Group.getValues()) {
|
||||
applyIsolationRecursively(child, isolateSet, mode, visited);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
auto* vp = Gui::Application::Instance->getViewProvider(current);
|
||||
|
||||
Reference in New Issue
Block a user