From 5882ac47166188b081ffe5244d0be2a855a6c7d7 Mon Sep 17 00:00:00 2001 From: Hector <2055590199@qq.com> Date: Thu, 6 Nov 2025 09:23:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AF=E8=A7=81=E6=80=A7=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E7=A7=BB=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/property_panel.py | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/ui/property_panel.py b/ui/property_panel.py index 8322f6b4..a8fff5c0 100644 --- a/ui/property_panel.py +++ b/ui/property_panel.py @@ -1181,26 +1181,9 @@ class PropertyPanelManager: for child in node.getChildren(): q.append((child, eff)) - # def _toggleModelVisibility(self, model, state): - # """切换模型可见性状态""" - # try: - # visible = (state == Qt.Checked) - # self._setUserVisible(model, visible) - # - # collision_nodes = model.findAllMatches("**/modelCollision_*") - # for collision_node in collision_nodes: - # collision_node.hide() - # - # except Exception as e: - # print(f"切换模型可见性失败: {str(e)}") - # import traceback - # traceback.print_exc() - def _toggleModelVisibility(self, model, state): """切换模型可见性状态""" try: - - # 特殊处理灯光对象 scene_manager = None if hasattr(self.world, 'scene_manager'):