mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 07:38:37 +00:00
@@ -1850,7 +1850,8 @@ class Drawing(blenderbim.core.tool.Drawing):
|
|||||||
break
|
break
|
||||||
return sheet_references
|
return sheet_references
|
||||||
|
|
||||||
def get_camera_matrix(self, camera):
|
@classmethod
|
||||||
|
def get_camera_matrix(cls, camera):
|
||||||
matrix_world = camera.matrix_world.copy().normalized()
|
matrix_world = camera.matrix_world.copy().normalized()
|
||||||
location, rotation, scale = matrix_world.decompose()
|
location, rotation, scale = matrix_world.decompose()
|
||||||
if scale.x < 0 or scale.y < 0 or scale.z < 0:
|
if scale.x < 0 or scale.y < 0 or scale.z < 0:
|
||||||
|
|||||||
Reference in New Issue
Block a user