Skip to content

Commit

Permalink
[bin] Import correct Graph objects for meshroom_batch
Browse files Browse the repository at this point in the history
  • Loading branch information
cbentejac committed Sep 16, 2024
1 parent 58741a3 commit 7faf662
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/meshroom_batch
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import meshroom
meshroom.setupEnvironment()

import meshroom.core.graph
from meshroom import multiview
from meshroom.core.graph import Graph, GraphModification
from meshroom.core.desc import InitNode
import logging

Expand Down Expand Up @@ -149,9 +149,9 @@ if not args.input and not args.inputRecursive:

meshroom.core.initNodes()

graph = multiview.Graph(name=args.pipeline)
graph = Graph(name=args.pipeline)

with multiview.GraphModification(graph):
with GraphModification(graph):
# initialize template pipeline
loweredPipelineTemplates = dict((k.lower(), v) for k, v in meshroom.core.pipelineTemplates.items())
if args.pipeline.lower() in loweredPipelineTemplates:
Expand Down

0 comments on commit 7faf662

Please sign in to comment.