mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-29 11:46:33 +00:00
Fix drawing test after be657748f
This commit is contained in:
@@ -55,7 +55,7 @@ class TestCreateAnnotationObject(NewFile):
|
|||||||
|
|
||||||
class TestCreateCamera(NewFile):
|
class TestCreateCamera(NewFile):
|
||||||
def test_run(self):
|
def test_run(self):
|
||||||
obj = subject.create_camera("Name", mathutils.Matrix(), "PERSPECTIVE")
|
obj = subject.create_camera("Name", mathutils.Matrix(), "PERSPECTIVE", "PLAN_VIEW")
|
||||||
assert obj.name == "Name"
|
assert obj.name == "Name"
|
||||||
assert obj.matrix_world == mathutils.Matrix()
|
assert obj.matrix_world == mathutils.Matrix()
|
||||||
assert isinstance(obj.data, bpy.types.Camera)
|
assert isinstance(obj.data, bpy.types.Camera)
|
||||||
|
|||||||
Reference in New Issue
Block a user