From 76529a06bb28c75de03f1e6fd1024ae1afa04131 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Thu, 8 May 2025 15:37:39 +0500 Subject: [PATCH] Fix resetting perspective camera on drawing activation (1619ae854) --- src/bonsai/bonsai/bim/module/drawing/prop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bonsai/bonsai/bim/module/drawing/prop.py b/src/bonsai/bonsai/bim/module/drawing/prop.py index eb767e6ea7..fae9d78fe7 100644 --- a/src/bonsai/bonsai/bim/module/drawing/prop.py +++ b/src/bonsai/bonsai/bim/module/drawing/prop.py @@ -233,7 +233,7 @@ def update_has_linework(self: "BIMCameraProperties", context: bpy.types.Context) def update_target_view(self: "BIMCameraProperties", context: bpy.types.Context) -> None: - if self.target_view != "MODEL_VIEW": + if self.update_props and self.target_view != "MODEL_VIEW": self.camera_type = "ORTHO" update_layer(self, context, "TargetView", self.target_view)