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.
This commit is contained in:
Andrej730
2025-05-08 19:12:19 +05:00
parent be657748f3
commit 4976af5e66
-1
View File
@@ -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"