Commit graph

97 commits

Author SHA1 Message Date
Fabien Castan
ee20136f82
Merge pull request #1764 from alicevision/dev/displayComputeTime
[ui] Display computation time for "running" or "finished" nodes
2022-09-10 00:27:34 +02:00
Candice Bentéjac
5542516ba4 [ui] Display computation time for "running" or "finished" nodes 2022-09-09 16:36:43 +02:00
Candice Bentéjac
c44b2a8c00 Add "minimal" mode for template files
Add a specific option to save a graph as a template ("Save As
Template") in "minimal" mode.

This mode only saves, for each node in the graph, the input and
output attributes whose values differ from the default ones. Any
attribute that is not serialized in the saved template file is
assumed to have its default value.
If a conflict is detected on a node when opening the template
file, it is logged but solved automatically.

The goal of this minimal mode is to prevent template files from
needing an update every single time a modification (may it be
minor or major) is done on a node description. Templates can
thus follow node changes and still be usable.
2022-09-06 09:43:19 +02:00
Fabien Castan
290e0278e9 [core] fix: filter attributes after the node upgrade
Values from removed attributes may be used in the node's upgrade code.
2021-09-03 22:12:25 +02:00
Thomas Zorroché
45bed69672 [nodes] change default mesh format to obj 2021-09-03 21:13:20 +02:00
Thomas Zorroche
dc1ca91a31 [core] node: warning on lambda evaluation 2021-09-03 21:13:18 +02:00
Fabien Castan
5ab6ed8e52 [core] Improve project files upgrade
- upgrade groups with changes in params
- new upgradeAttributeValues per node
2021-08-13 16:07:14 +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
Fabien Castan
6972d37639 [core] avoid access to invalid node desc for CompatibilityNode 2021-02-12 18:15:46 +01:00
Fabien Castan
79e4a59e8c [core] fix clearSubmittedChunks 2021-01-28 19:56:25 +01:00
Fabien Castan
5e7b044d13 [core] fix StatusData inheritance 2021-01-28 19:44:44 +01:00
Fabien Servant
1993114178 [core] more robust check of "status" file 2021-01-25 17:38:33 +01:00
Fabien Castan
078120696a [ui] GraphEditor: fix some readOnly regarding CompatibilityNodes 2021-01-22 14:30:33 +01:00
Fabien Castan
831443c29d [ui] NodeEditor: refactor ChunksList and add global stats 2021-01-22 11:38:53 +01:00
ChemicalXandco
c253e7d363 [ui] add support for selecting multiple nodes at once 2021-01-15 18:16:45 +00:00
Fabien Castan
d3d17ec6dd [core] node: fix missing function argument to getInputNodes 2020-12-28 17:31:48 +01: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
Fabien Castan
4e5bef2a80 [core] allow lambda on "group" property 2020-11-20 17:40:49 +01:00
Julien-Haudegond
0693af58c1 [core] Node: fix locked issue when computation is canceled 2020-09-04 16:31:58 +02:00
Julien-Haudegond
49e33fb9ba [core] Node: fix locked issue 2020-09-04 11:37:04 +02:00
Julien-Haudegond
11bf6821ae [core] Node: avoid submitting already running nodes 2020-08-31 11:11:35 +02:00
Julien-Haudegond
5d63d02a33 [core] Node: update duplicate nodes' status without any latency 2020-08-31 11:08:22 +02:00
Julien-Haudegond
8281f8cb2a [core] Node: improve updateDuplicates and add hasDuplicates property 2020-08-27 16:18:32 +02:00
Julien-Haudegond
3e82a21677 [core] TaskManager: fix issue in contains() / Node: add a Slot decorator 2020-08-27 10:56:28 +02:00
Julien-Haudegond
44821a1c5e [ui] GraphEditor: move stop/cancel computation check into a Python slot 2020-08-26 15:52:00 +02:00
Julien-Haudegond
a00c82cd2f [ui] GraphEditor: check sessionUid for stop/cancel computation 2020-08-26 15:33:45 +02:00
Julien-Haudegond
ed83532064 [core] Node: do not lock duplicates 2020-08-24 16:35:48 +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
Fabien Castan
b295242576 [ui] Camera Response Function display: make it safer
More checks on file content and catch exception.
Check nbColumns using a slot instead of using the property.
Use a workaround on the CVS loader to avoid a crash (do not set active
to False).
2020-08-24 11:33:26 +02:00
Julien-Haudegond
b71832ebbd [core] Node: stopComputation method
- Node: stopComputation method.
- Task Manager: avoid stopping the entire task manager when a node is stopped.
2020-08-20 15:53:02 +02:00
Julien-Haudegond
2083d83d14 [core] Node: add globalExecMode property 2020-08-20 15:14:19 +02:00
Julien-Haudegond
a3e0d530b4 [core/ui] fix typo and syntax 2020-08-20 15:07:29 +02:00
Julien-Haudegond
fe91d07a6a [core] Node: add alive property for QML 2020-08-17 11:39:22 +02:00
Julien-Haudegond
0af2f32187 [core] Node: fix locked when stopped 2020-08-13 12:39:41 +02:00
Julien-Haudegond
d838e7866a [ui] Node: fix slowness due to QML function calls with a lot of nodes
Instead of calling the duplicateList function for each node, at each modification, it is called only when we press the button.
2020-08-13 11:45:52 +02:00
Julien-Haudegond
fd51237fa3 [core] Node: add duplicate nodes list property 2020-08-12 18:01:37 +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
Julien-Haudegond
524a4ab629 [core] fix enabled parameter inside group and list 2020-07-29 11:32:52 +02:00
Julien-Haudegond
2d953d7319 [core] add enabled property on attributes
The new property "enabled" allows to define a lambda to dynamically enable/disable parameters.
Disabled parameters are not used in the uid, not exported to the command line and not visible in the interface.
2020-07-24 17:36:17 +02:00
Fabien Castan
91f53341bc warning fixes 2020-07-16 11:04:43 +02:00
Fabien Castan
396c285c76 [multiview] HDRI: add PanoramaPrepareImages in default HDRI pipeline
- update access to CameraInit from LdrToHdr nodes
- update PanoramaPrepareImages param names
2020-07-06 00:39:32 +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
bbc56cfb31 [core] Add support for lambda function in Attribute desc value
Allows to dynamically configure the default value of the Attribute in python.
2020-06-28 17:39:50 +02:00
Fabien Castan
c214b48aa5 [core] fix Node.isComputed property 2020-06-23 14:25:50 +02:00
Fabien Castan
2f17e9aa80 Merge remote-tracking branch 'origin/develop' into dev/panoramaFisheye 2020-03-26 13:56:51 +01:00
Fabien Castan
0e606eef4e [ui] Add the notion of Node Documentation 2020-03-26 10:54:00 +01:00