This commit is contained in:
Andrej730
2025-05-07 12:36:29 +05:00
parent cf253824ca
commit 94cf56e080
7 changed files with 15 additions and 3 deletions
+1
View File
@@ -58,6 +58,7 @@ class TestCreateCamera(NewFile):
obj = subject.create_camera("Name", mathutils.Matrix(), "PERSPECTIVE")
assert obj.name == "Name"
assert obj.matrix_world == mathutils.Matrix()
assert isinstance(obj.data, bpy.types.Camera)
assert obj.data.type == "PERSP"
assert obj.data.ortho_scale == 50
assert obj.data.clip_end == 10