mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-28 17:57:16 +02:00
`test_multiviewPipeline` relied on the photogrammetry template and its nodes, which are not a part of Meshroom anymore. The test is rewritten to check the same items (serialization, graph equality, etc.) but using dedicated test nodes (which already existed) and template, which is added with this commit. The path of the template is added to `MESHROOM_PIPELINE_TEMPLATES_PATH` when loading the test module.
9 lines
400 B
Python
9 lines
400 B
Python
import os
|
|
|
|
from meshroom.core import loadAllNodes, initPipelines
|
|
|
|
loadAllNodes(os.path.join(os.path.dirname(__file__), "nodes"))
|
|
if os.getenv("MESHROOM_PIPELINE_TEMPLATES_PATH", False):
|
|
os.environ["MESHROOM_PIPELINE_TEMPLATES_PATH"] += os.pathsep + os.path.dirname(os.path.realpath(__file__))
|
|
else:
|
|
os.environ["MESHROOM_PIPELINE_TEMPLATES_PATH"] = os.path.dirname(os.path.realpath(__file__))
|