mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-22 13:36:31 +02:00
[core] use more explicit argument name: setupFileRef
This commit is contained in:
parent
fa7b4587ca
commit
06543f89a9
4 changed files with 13 additions and 13 deletions
|
@ -313,11 +313,11 @@ class UIGraph(QObject):
|
|||
|
||||
def setDefaultPipeline(self, pipelineFilepath):
|
||||
self._defaultPipelineFilepath = pipelineFilepath
|
||||
self._graph.load(pipelineFilepath, fileLink=False)
|
||||
self._graph.load(pipelineFilepath, setupFileRef=False)
|
||||
|
||||
def load(self, filepath, fileLink=True):
|
||||
def load(self, filepath, setupFileRef=True):
|
||||
g = Graph('')
|
||||
g.load(filepath, fileLink)
|
||||
g.load(filepath, setupFileRef)
|
||||
if not os.path.exists(g.cacheDir):
|
||||
os.mkdir(g.cacheDir)
|
||||
self.setGraph(g)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue