diff options
author | Théo de la Hogue | 2022-11-30 15:31:14 +0100 |
---|---|---|
committer | Théo de la Hogue | 2022-11-30 15:31:14 +0100 |
commit | 1ce0918f6db86316b9182ffb9d17439217e95f28 (patch) | |
tree | 54fbc4981e365725f99b1441e85043512a59c54b /src | |
parent | e79bdd84da97fa9e766cc6aca548517c4af322c2 (diff) | |
download | argaze-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.py | 4 |
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) |