This commit is contained in:
Andrej730
2023-08-30 17:43:11 +05:00
parent a2bb015c79
commit 3e45f39ea2
+3 -2
View File
@@ -1849,8 +1849,9 @@ class Drawing(blenderbim.core.tool.Drawing):
sheet_references.append(reference)
break
return sheet_references
def get_camera_matrix(self, camera):
@classmethod
def get_camera_matrix(cls, camera):
matrix_world = camera.matrix_world.copy().normalized()
location, rotation, scale = matrix_world.decompose()
if scale.x < 0 or scale.y < 0 or scale.z < 0: