aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThéo de la Hogue2022-11-30 15:31:14 +0100
committerThéo de la Hogue2022-11-30 15:31:14 +0100
commit1ce0918f6db86316b9182ffb9d17439217e95f28 (patch)
tree54fbc4981e365725f99b1441e85043512a59c54b /src
parente79bdd84da97fa9e766cc6aca548517c4af322c2 (diff)
downloadargaze-1ce0918f6db86316b9182ffb9d17439217e95f28.zip
argaze-1ce0918f6db86316b9182ffb9d17439217e95f28.tar.gz
argaze-1ce0918f6db86316b9182ffb9d17439217e95f28.tar.bz2
argaze-1ce0918f6db86316b9182ffb9d17439217e95f28.tar.xz
Fixing obj file loading.
Diffstat (limited to 'src')
-rw-r--r--src/argaze.test/AreaOfInterest/AOI3DScene.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/argaze.test/AreaOfInterest/AOI3DScene.py b/src/argaze.test/AreaOfInterest/AOI3DScene.py
index e74e246..2d88519 100644
--- a/src/argaze.test/AreaOfInterest/AOI3DScene.py
+++ b/src/argaze.test/AreaOfInterest/AOI3DScene.py
@@ -31,10 +31,8 @@ class TestAOI3DSceneClass(unittest.TestCase):
def test_load(self):
"""Test AOI3DScene load method."""
- aoi_3d_scene_tt = AOI3DScene.AOI3DScene()
-
current_directory = os.path.dirname(os.path.abspath(__file__))
- aoi_3d_scene_tt.load(os.path.join(current_directory, 'utils/scene.obj'))
+ aoi_3d_scene_tt = AOI3DScene.AOI3DScene.from_obj(os.path.join(current_directory, 'utils/scene.obj'))
self.assertEqual(len(aoi_3d_scene_tt.items()), 2)