mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 02:02:22 +00:00
Add support for BCF orthogonal camera scales
This commit is contained in:
@@ -454,6 +454,7 @@ class ActivateBcfViewpoint(bpy.types.Operator):
|
||||
if viewpoint.oCamera:
|
||||
camera = viewpoint.oCamera
|
||||
obj.data.type = 'ORTHO'
|
||||
obj.data.ortho_scale = viewpoint.oCamera.viewWorldScale
|
||||
elif viewpoint.pCamera:
|
||||
camera = viewpoint.pCamera
|
||||
obj.data.type = 'PERSP'
|
||||
|
||||
Reference in New Issue
Block a user