From 4976af5e6664f6d55f0a1793c700f50d12de1f49 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Thu, 8 May 2025 19:12:19 +0500 Subject: [PATCH] drawing.create_camera - remove setting location line that had no effect Apparently it had no effect from the beginning in 074fe0d and lost any use in 6a8292d, when we started to base position on current cursor's location. --- src/bonsai/bonsai/tool/drawing.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/bonsai/bonsai/tool/drawing.py b/src/bonsai/bonsai/tool/drawing.py index f2d0fbafc7..1208cc15c2 100644 --- a/src/bonsai/bonsai/tool/drawing.py +++ b/src/bonsai/bonsai/tool/drawing.py @@ -307,7 +307,6 @@ class Drawing(bonsai.core.tool.Drawing): ) -> bpy.types.Object: camera = bpy.data.objects.new(name, (camera_data := bpy.data.cameras.new(name))) props = cls.get_camera_props(camera_data) - camera.location = (0, 0, 1.5) # The view shall be 1.5m above the origin camera_data.show_limits = True if location_hint == "PERSPECTIVE": props.camera_type = "PERSP"