From eb4d7897ba4de1b6e929614d12f25b337ad3c131 Mon Sep 17 00:00:00 2001 From: march3 Date: Fri, 31 Mar 2023 16:10:34 +0800 Subject: [PATCH] =?UTF-8?q?Python=E8=B6=85=E4=BA=BA-=E5=AE=87=E5=AE=99?= =?UTF-8?q?=E6=A8=A1=E6=8B=9F=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- simulators/ursina_simulator.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/simulators/ursina_simulator.py b/simulators/ursina_simulator.py index ad8b744..1bb72ff 100644 --- a/simulators/ursina_simulator.py +++ b/simulators/ursina_simulator.py @@ -197,6 +197,8 @@ class UrsinaSimulator(Simulator): if view_closely: # 近距离查看 if isinstance(view_closely, float): + if view_closely < 0.001: + view_closely = 0.001 camera.clip_plane_near = view_closely else: # 设置 camera 的裁剪面和位置 -- GitLab