mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-30 14:58:37 +02:00
Automatically save the project when computing or submitting to renderfarm
If the project is not saved at all, it will suggest to save it manually or to define a project in a temporary folder using date/time for the project name.
This commit is contained in:
parent
db8fd02aeb
commit
008d6c75ee
6 changed files with 53 additions and 44 deletions
|
@ -182,7 +182,6 @@ class Graph(BaseObject):
|
|||
edges = {B.input: A.output, C.input: B.output,}
|
||||
|
||||
"""
|
||||
_cacheDir = ""
|
||||
|
||||
def __init__(self, name, parent=None):
|
||||
super(Graph, self).__init__(parent)
|
||||
|
@ -199,7 +198,7 @@ class Graph(BaseObject):
|
|||
# Edges: use dst attribute as unique key since it can only have one input connection
|
||||
self._edges = DictModel(keyAttrName='dst', parent=self)
|
||||
self._compatibilityNodes = DictModel(keyAttrName='name', parent=self)
|
||||
self.cacheDir = meshroom.core.defaultCacheFolder
|
||||
self._cacheDir = ''
|
||||
self._filepath = ''
|
||||
self._fileDateVersion = 0
|
||||
self.header = {}
|
||||
|
@ -1354,7 +1353,7 @@ class Graph(BaseObject):
|
|||
def _unsetFilepath(self):
|
||||
self._filepath = ""
|
||||
self.name = ""
|
||||
self.cacheDir = meshroom.core.defaultCacheFolder
|
||||
self.cacheDir = ""
|
||||
self.filepathChanged.emit()
|
||||
|
||||
def updateInternals(self, startNodes=None, force=False):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue