mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 10:33:20 +00:00
drawing.create_camera - remove setting location line that had no effect
Apparently it had no effect from the beginning in074fe0dand lost any use in6a8292d, when we started to base position on current cursor's location.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user