From 1de7024a4308828fb1f47f62e2c1a2822e3610bc Mon Sep 17 00:00:00 2001 From: tetektoza Date: Wed, 7 May 2025 21:02:12 +0200 Subject: [PATCH] BIM: Switch Visibility of ViewObj on/off to restore it in all objs --- src/Mod/BIM/bimcommands/BimViews.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Mod/BIM/bimcommands/BimViews.py b/src/Mod/BIM/bimcommands/BimViews.py index b62f99a13a..fba4f65fe7 100644 --- a/src/Mod/BIM/bimcommands/BimViews.py +++ b/src/Mod/BIM/bimcommands/BimViews.py @@ -480,6 +480,9 @@ class BIM_Views: toolTip = item.toolTip(0) obj = FreeCAD.ActiveDocument.getObject(toolTip) if obj: + # We switch visibility to be sure we will show childs of other childs + # beforehand, as the Visibility may not be propagated. + obj.ViewObject.Visibility = False obj.ViewObject.Visibility = True vm = findWidget()