mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 06:58:38 +00:00
@@ -1849,8 +1849,9 @@ class Drawing(blenderbim.core.tool.Drawing):
|
|||||||
sheet_references.append(reference)
|
sheet_references.append(reference)
|
||||||
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