From 212e4f07afdbc4b7c593b009ba3df08cbc3e77e1 Mon Sep 17 00:00:00 2001 From: PaddleStroke Date: Mon, 26 Jan 2026 12:28:47 +0100 Subject: [PATCH] Assembly: Fix isolate not working on sub assembly components --- src/Mod/Assembly/Gui/ViewProviderAssembly.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Mod/Assembly/Gui/ViewProviderAssembly.cpp b/src/Mod/Assembly/Gui/ViewProviderAssembly.cpp index 5e0c28f0c2..945cb6cdce 100644 --- a/src/Mod/Assembly/Gui/ViewProviderAssembly.cpp +++ b/src/Mod/Assembly/Gui/ViewProviderAssembly.cpp @@ -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(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);