Candice Bentéjac
945f59e00c
Retrieve file features for templates
...
When a project file is opened as such, its filepath is stored
and all its features are retrieved as a consequence. Templates
were hard-coded instead of opened as files, so there never was
any need to load their features.
Now that .mg files can be opened both as projects and pipelines,
we need to retrieve the features in both cases, whether the filepath
is stored (file opened as project) or not (file opened as template).
This can be useful to retrieve the layout contained in the .mg file
for the pipeline, for example.
2022-07-21 15:28:36 +02:00
Fabien Castan
ae0c65f563
[core] do not use the task manager in batch command line tools
...
Avoid usage of multi-threading to launch the computation in command line
tools without interactive needs
2021-10-19 15:48:07 +02:00
Fabien Castan
f44e834970
[core] fix batch
2021-09-13 10:17:39 +02:00
Landrodie
79955ddae6
[core] Change attribute name and label properties
...
Adding new properties and updating the call to previous ones.
Properties are now :
* label : getLabel
* fullLabel : getFullLabel
* fullLabelToNode : getFullLabelToNode
* fullLabelToGraph : getFullLabelToGraph
Same for the name.
2021-08-23 17:52:40 +02:00
Fabien Castan
18be350e6f
Merge pull request #1227 from ChemicalXandco/box_select
...
[ui] add support for selecting multiple nodes at once
2021-05-03 23:42:11 +02:00
ChemicalXandco
fdfabf0066
[ui] GraphEditor: use entire node selection when handling '_ from here' operations
2021-04-18 14:33:17 +01:00
ChemicalXandco
acf1bf2116
[ui] grapheditor: explicitly pass selected nodes argument
2021-01-26 21:13:16 +00:00
Fabien Castan
37d3008f9e
[core] rename nodesOfType
2021-01-22 13:12:29 +01:00
ChemicalXandco
c253e7d363
[ui] add support for selecting multiple nodes at once
2021-01-15 18:16:45 +00:00
Fabien Castan
d291fcc39d
[core] graph: use new dependenciesOnly option on graph operations
...
Input attribute to input attribute connection is not a real dependency between the nodes.
2020-12-14 19:02:49 +01:00
Fabien Castan
1102ce84e0
Merge branch 'develop' of github.com:alicevision/meshroom into dev/nodesAndTaskManager
...
Conflicts:
meshroom/core/graph.py
meshroom/ui/qml/main.qml
2020-12-01 20:02:43 +01:00
Julien-Haudegond
e91dab1a63
[core] Graph.canSubmitOrCompute: add documentation
2020-09-05 15:34:05 +02:00
Fabien Castan
44fe0620c7
[core] graph: fix retrieve first submitter
2020-09-05 01:18:03 +02:00
Fabien Castan
c8978cd792
[core] Graph.findNode: if multiple candidates, do not raise an error if one is the exact input
2020-09-04 19:51:07 +02:00
Julien-Haudegond
37c758c8da
[core/tests] Graph: default startNodes parameter in dfsOnDiscover()
2020-09-04 15:39:27 +02:00
Julien-Haudegond
deaf1e3abb
[core] Graph: fix reverse issue in dfs()
2020-09-04 15:35:48 +02:00
Julien-Haudegond
8499431dff
[core] Graph: add getRootNodes()
2020-09-04 15:21:03 +02:00
Julien-Haudegond
44d019b7f0
[core] Graph: move reverse property from dfs() to Visitor class
2020-09-04 15:11:19 +02:00
Julien-Haudegond
e4a95e89dc
[core] Graph: change signature of dfsOnFinish()
2020-09-04 13:05:18 +02:00
Julien-Haudegond
b567d8ff5c
[core] Graph: change default reverse direction in dfsOnDiscover()
2020-09-04 12:42:05 +02:00
Julien-Haudegond
208749d897
[core] Graph: change signature of dfsOnDiscover()
2020-09-04 12:22:20 +02:00
Julien-Haudegond
f8bd40ad38
[core] Graph: rename nodesFromNode() to dfsOnDiscover()
2020-09-04 11:49:45 +02:00
Julien-Haudegond
3fc09ddade
[core] TaskManager: handle compatibility error outside dfsToProcess()
2020-09-03 18:42:36 +02:00
Julien-Haudegond
3f3a6c0e83
[core/bin] Submitting: remove a duplicate function and move another one
2020-09-03 18:23:55 +02:00
Julien-Haudegond
eb52459bbf
[core] Graph: raise error in dfs() with longestPathFirst
2020-09-02 12:37:40 +02:00
Julien-Haudegond
74fa3022fe
[core] Graph: avoid double update while adding/removing an edge
...
Graph.markNodesDirty() is called in three different places:
- Attribute.requestGraphUpdate()
- Graph.addEdge()
- Graph.removeEdge()
However, addEdge() and removeEdge() are especially decorated to request a graph update so, with the old markNodesDirty() implementation, the update was done twice in a row.
2020-08-27 17:16:40 +02:00
Julien-Haudegond
e64c66e447
[core] Graph: remove warning logs from dfsToProcess method
...
Those warnings happen already in the Task Manager and should be handled only by the Task Manager.
2020-08-27 12:33:32 +02:00
Julien-Haudegond
fb477d486c
[core] Graph: remove useless getAlreadySubmittedChunks method
2020-08-27 12:20:46 +02:00
Julien-Haudegond
79e1c69d5d
Merge remote-tracking branch 'origin/develop' into dev/nodesAndTaskManager
2020-08-24 15:19:31 +02:00
Julien-Haudegond
ba1994deb9
[core/ui] replace and remove depending/required nodes methods
2020-08-24 11:59:03 +02:00
Julien-Haudegond
11e68e77ed
[core] Graph/Node: getInputNodes and getOutputNodes methods
2020-08-24 11:35:32 +02:00
Julien-Haudegond
fe91d07a6a
[core] Node: add alive property for QML
2020-08-17 11:39:22 +02:00
Julien-Haudegond
fd51237fa3
[core] Node: add duplicate nodes list property
2020-08-12 18:01:37 +02:00
Julien-Haudegond
8a5f4939b2
[ui] Graph: add a 'Force Unlock Nodes' option
2020-08-12 10:44:53 +02:00
Julien-Haudegond
ff7f8b3e36
[core/ui] add a locked property on nodes
...
Add locked property on core nodes and update UI in the same commit because both parts are very dependent for this change.
2020-08-11 13:08:47 +02:00
Fabien Castan
bab908d2eb
Merge branch 'develop' into dev/nodesAndTaskManager
2020-07-30 10:56:19 +02:00
Fabien Castan
91f53341bc
warning fixes
2020-07-16 11:04:43 +02:00
Fabien Castan
ec67c772fa
[ui] new generic way to manage "active" nodes per node type
2020-07-07 22:05:53 +02:00
Fabien Castan
082f9b5843
[core] correct the actions order when loading the project file
...
We now call applyExpr before updateInternals is called (triggered by setupProjectFile and/or end of GraphModification).
So the input parameters expressions/connections are up-to-date (after applyExpr) when updateInternals will evaluate the input/output parameters.
2020-06-29 12:53:11 +02:00
Fabien Castan
0e434908a5
[ui] improve open recent files
...
* fix path conversion on windows
* remove invalid paths from the list on error
* explicit error message for "No Such File"
2020-03-17 14:07:00 +01:00
Yann Lanthony
fcb2b23c1a
[core] add "Attribute.hasOutputConnections" property
...
Give access to whether an attribute has output connections.
2020-01-24 11:18:08 +01:00
Lee Geertsen
c88881e198
Delete print
2019-11-29 11:34:15 +01:00
Lee Geertsen
3ff5ba8d54
[core] Submit and Compute buttons are disabled if needed
2019-11-29 11:34:15 +01:00
Lee Geertsen
01974c23ec
Make Task Manager with Nodes submitted to a render farm
2019-11-29 11:34:10 +01:00
Lee Geertsen
c00db25c23
Don't lock graph and node editor while computing nodes
...
Add possibilty to, while computing nodes:
add more nodes to the task manager,
edit, duplicate and remove nodes without breaking the tasks that are submitted
2019-11-29 11:34:10 +01:00
Lee Geertsen
51d6c18840
Create TaskManager with a task overview
...
Create a seperate class to handle the logic of computing nodes
+ An UI overview with all submitted nodes
2019-11-29 11:34:10 +01:00
Fabien Castan
a53940d29f
[core] graph: variable rename
2019-09-25 21:07:28 +02:00
Fabien Castan
06543f89a9
[core] use more explicit argument name: setupFileRef
2019-09-21 18:19:17 +02:00
Fabien Castan
979ee4ba94
[bin] meshroom_photogrammetry: setup cache folder according to --save path
...
except if --cache is set explicitly
2019-09-12 21:36:36 +02:00
Fabien Castan
231125efdf
[ui] improve meshroom command line
...
- "meshroom -h / --help": now provides command line documentation (so
argparse is done before GUI creation)
- new positional argument to set project file or input folder
- new "--pipeline" option to set a default pipeline, also support an
environment variable
2019-09-12 21:14:52 +02:00