Candice Bentéjac
cb062a4b4c
[ui] Detect if the reconstruction has been set yet or reset
...
An `active` property is added to the `Reconstruction` object to share
whether it has been initialized or not.
2024-08-26 16:21:28 +02:00
Candice Bentéjac
da2c3fda05
[GraphEditor] Return empty bbox if the graph is empty
...
This commit checks whether there is a node in the graph before trying
to determine the size and position of the bounding box. If the graph is
empty, an bounding box set with 0s is returned.
2024-08-26 16:21:28 +02:00
Candice Bentéjac
c428015bdc
[MaterialIcons] Do not define height as the content's height
...
Defining the height of the `MaterialToolLabelButton` as its content
height creates binding loop, and is not useful as the implicit height
already is the content's height.
2024-08-26 16:21:28 +02:00
Candice Bentéjac
f84d0d6341
[ui] app: Check that viewpoints
exist before accessing them
2024-08-26 16:21:28 +02:00
Candice Bentéjac
74271019b3
[ui] Homepage: Provide a URL for thumbnails instead of a string
...
This avoids getting some "Unknown 'c' protocol error".
2024-08-26 16:21:28 +02:00
Candice Bentéjac
2a8359939b
[ui] Homepage: Handle padding computations during init phases
...
When the elements are being initialized, their sizes is not yet correctly
set. Since the paddings for the `MaterialToolLabelButtons` is computed
dynamically depending on other elements' size, we need to add safeguard
to ensure that the padding can never be larger than the container's size.
2024-08-26 16:21:28 +02:00
Aurore LAFAURIE
655f83892d
[ui] New button added for empty project
2024-08-26 16:21:27 +02:00
Aurore LAFAURIE
78fb0114e4
[ui] Create empty graph and handle new Camera Init or KeyFrameSelection
2024-08-26 16:21:27 +02:00
Aurore LAFAURIE
1038806ccd
[ui] By default no pipeline is provided and we can create empty project
2024-08-26 16:21:27 +02:00
Aurore LAFAURIE
f326d45024
[ui] Better handling of thumbnails for Homepage
...
We need to check and create the thumbnail if it does not exist.
2024-08-26 16:21:27 +02:00
Aurore LAFAURIE
5b92df328f
Implementation of Homepage
2024-08-26 16:21:26 +02:00
Candice Bentéjac
f48785ff77
Merge pull request #2511 from alicevision/fix/newNodeMenu
...
[ui] GraphEditor.newNodeMenu: fix unstable menu height
2024-08-23 08:49:55 +01:00
Fabien Castan
6646bde7a9
[ui] GraphEditor.newNodeMenu: fix unstable menu height
...
Use an explicit height on the newNodeMenu, this fixes the issue with
unstable size of the menu.
2024-08-22 22:23:28 +02:00
Fabien Castan
9fb1e229ae
Merge pull request #2502 from alicevision/dev/improveSeqDisplay
...
[ui] Improve sequence display
2024-08-21 00:46:26 +02:00
Fabien Castan
7a717201a2
Merge pull request #2507 from alicevision/dev/visibleChunkInProgressBar
...
[GraphEditor] Chunks in progress bar are visible thanks to alternate of dark and light color
2024-08-20 19:40:10 +02:00
Fabien Castan
5c379c508c
[ui] GraphEditor: highlight chunks with lighter/darker
2024-08-20 19:37:03 +02:00
Fabien Castan
40c2caac5d
[ui] GraphEditor: add 1 pixel margin between chunks
2024-08-20 19:36:09 +02:00
Aurore LAFAURIE
87e6969d9f
[GraphEditor] Chunks in progress bar are visible thanks to alternate of dark and light color
2024-08-20 14:35:06 +02:00
Fabien Castan
e366dc9308
[ui] components: fix issues for a seq containing a single file
...
pyseq returns a sequence for a single file, but without extracting the
number as a frame number, so the pyseq formatting does not work.
2024-08-19 19:42:31 +02:00
Fabien Castan
5ca38189ac
fix missing frameRange update for sequence use case
2024-08-19 19:39:44 +02:00
Fabien Castan
9036a973dd
Merge pull request #2500 from alicevision/fix/exceptOnNodeCreation
...
[core] Catch exception for calls to optional descriptor method on node creation
2024-08-19 18:49:47 +02:00
Candice Bentéjac
daa6e48f2c
[core] Catch exception for calls to optional descriptor method on node creation
...
If a node's description contains invalid operations in its `onNodeCreated`
method, exceptions are thrown without being caught and cause Meshroom
to crash.
These calls are now safely tried and any encountered exception is handled.
2024-08-19 18:29:23 +02:00
Fabien Castan
f1071c01c7
Merge pull request #2499 from alicevision/fix/reloadTemplates
...
[ui] app: Correctly reload list of available templates
2024-08-19 17:39:31 +02:00
Fabien Castan
d3561993ef
Merge pull request #2493 from alicevision/dev/inheritedAttributes
...
[core] Reference the attribute's instance type in its description
2024-08-19 17:33:21 +02:00
Fabien Castan
15c1ce16b5
[ui] Improve sequence display
...
- allows multiple "*" in the files search expression
- fix a bug if we only provide a folder
- keep the current frame if the frame range has not changed
2024-08-16 17:22:21 +02:00
Candice Bentéjac
75aac0db1a
[ui] app: Correctly reload list of available templates
...
`pipelineTemplatesFolders` is not available anymore as a global
variables in `meshroom.core`. `initPipelines()` performs the iterations
over `pipelineTemplatesFolders` that are needed to update the list.
2024-08-13 16:40:44 +01:00
Candice Bentéjac
cc88120a98
[core] desc: Group properties together at the end of their class
2024-08-13 15:37:45 +02:00
Candice Bentéjac
17e8e3e315
[core] Add reference to attribute's instance type in descriptions
2024-08-13 15:34:17 +02:00
Fabien Castan
53679485a9
Merge pull request #2494 from alicevision/dev/dynamicChoiceParamUI
...
[GraphEditor] Base `ChoiceParam` model on attribute instead of description
2024-08-12 22:17:32 +02:00
Candice Bentéjac
39c51df065
[GraphEditor] Base ChoiceParam
model on attribute instead of description
2024-08-09 14:47:28 +02:00
Fabien Castan
720d565557
Merge pull request #2487 from alicevision/dev/initCore
...
Initialize `core` plugins at different moments
2024-08-07 19:12:58 +02:00
Candice Bentéjac
fc059f9da1
Merge pull request #2492 from alicevision/ci/ciEnvVar
...
Add environment variable for the CI
2024-08-07 17:34:48 +02:00
Matthieu Hog
72c127e368
added env var for ci
2024-08-06 13:46:52 +02:00
Candice Bentéjac
eb60ad0389
Merge pull request #2491 from alicevision/fix/latestBuild
...
[Viewer] Update error values for QtAV's `EStatus` enum
2024-08-05 16:35:26 +02:00
Candice Bentéjac
a2b4974429
[Viewer] Update error values for QtAV's EStatus
enum
2024-08-02 16:37:53 +02:00
Candice Bentéjac
5df10583e2
Merge pull request #2490 from alicevision/dev/attributeType
...
[core] Attribute: Directly access description's type in `getType()`
2024-08-02 11:39:58 +02:00
Candice Bentéjac
91b514cac5
[core] Attribute: Directly access description's type in getType()
...
The attributes' descriptions already have a `type` property which is
set with `self.__class__.__name__`. Instead of performing the same call
directly within the attributes, the `type` property of the description
is used.
In case a description would not have a standard type (i.e. anything that
may differ from the class name), this information will be propagated at
the attribute level instead of being lost.
2024-08-01 19:20:04 +02:00
Candice Bentéjac
cadac0fa69
Merge pull request #2473 from alicevision/dev/recomputeButton
...
[GraphEditor] Implementation of Recompute Button
2024-08-01 14:30:48 +01:00
Candice Bentéjac
16e951bad8
[ui] Update Delete data label according to selected nodes
2024-08-01 14:53:43 +02:00
Aurore LAFAURIE
82dd2a1f31
[ui] Re-submit behavior implemented
2024-08-01 11:07:29 +01:00
Aurore LAFAURIE
72201a80ff
[GraphEditor] Implementation of Recompute Button
...
Allows to do Delete data + Compute in less clicks
2024-08-01 11:07:29 +01:00
Candice Bentéjac
616318ace1
[core] Remove unused initPlugins
method
2024-08-01 11:06:30 +01:00
Candice Bentéjac
c3648731b9
[bin] meshroom_batch
: Initialize core plugins only when needed
2024-08-01 10:47:07 +01:00
Candice Bentéjac
f446310c24
[ui] Initialize plugins at different moments
2024-07-31 18:09:01 +02:00
Candice Bentéjac
ea5894f67e
Merge pull request #2483 from alicevision/dev/recentProjectOnDragDrop
...
[ui] Add project to recent projects when dropping a file
2024-07-30 11:11:26 +01:00
Aurore LAFAURIE
ea7f51cdf2
[ui] Add project to recent projects when dropping a file
2024-07-30 11:07:45 +02:00
Candice Bentéjac
92a8c106ce
Merge pull request #2482 from alicevision/fix/pushButton
...
[GraphEditor] AttributeItemDelegate: Return valid component for `PushButton`
2024-07-30 11:02:49 +02:00
Candice Bentéjac
d387b7cf71
Merge pull request #2476 from alicevision/fix/updateCameraInit
...
[ui] setSfm only depends on nodes with category "sfm" and CameraInit should be set only if it is different from the current one
2024-07-29 18:49:53 +02:00
Candice Bentéjac
45e6f43c40
[GraphEditor] AttributeItemDelegate: Return valid component for PushButton
...
The value of a `PushButtonParam` being always `None`, it is necessary
to check that the type of the component is not `PushButtonParam` before
comparing its value to `undefined`. Otherwise, any `PushButtonParam`
will always be represented by a "notComputed" component.
2024-07-29 17:48:38 +02:00
Candice Bentéjac
d7d259afa3
Merge pull request #2480 from alicevision/fix/resetIndexCameraInitWhenClosingNode
...
[Viewer2D] Only reset index of currentFrame if the currentFrame is after max of frameRange
2024-07-26 11:32:12 +01:00