Commit graph

3238 commits

Author SHA1 Message Date
Candice Bentéjac
313c7cd566 [docker] Fix headless Qt installation 2023-07-05 13:43:05 +02:00
Candice Bentéjac
59a092f53a [Viewer] Check that the featureViewer exists before accessing it 2023-07-04 12:10:28 +02:00
Candice Bentéjac
30cd13c7b3 [qml] Qt5.15: Disable the alternative palette to support disabled elements
Supporting the alternative palette (triggered with Ctrl+Shift+P) requires
a manual conversion from the QPalette to the QML palette, which does not
directly support disabled elements.

Keeping the previous palette management will support disabled elements,
but cause issues when switching to the alternative palette. Until both
can be fully supported, the alternative palette is disabled.
2023-07-04 12:10:28 +02:00
Candice Bentéjac
8db25a6f89 [docker] Remove non-interactive Qt installer script
Qt installation within the dockers is directly handled with command-line
parameters of the installer itself.
2023-07-04 12:10:27 +02:00
Candice Bentéjac
8fa48e8444 [docker] Qt5.15: Update Ubuntu docker 2023-07-04 12:10:26 +02:00
Candice Bentéjac
15d072798c [docker] Qt5.15: Update CentOS docker 2023-07-04 12:10:18 +02:00
Candice Bentéjac
caa5a1e3eb [qml] Qt5.15: Une new syntax for all the "onLinkActivated" slots 2023-07-04 12:04:17 +02:00
Candice Bentéjac
9e31981f03 [ui] Qt5.15: Update palette management
Manually convert the QPalette object to a QML Palette manually. The
conversion is not straight forward anymore, and not performing it
leads to an incomplete alternate (light) palette.

QML Palette in Qt 5.15 does not support yet disabled elements, the
support will only be enabled with Qt 6.
2023-07-04 12:04:16 +02:00
Candice Bentéjac
ad7e82ee86 [qml] Qt5.15: Fix binding loop on TextArea's implicit width 2023-07-04 12:04:16 +02:00
Candice Bentéjac
4df32fa533 Qt5.15: Update documentation with the Qt version upgrade 2023-07-04 12:04:15 +02:00
Candice Bentéjac
6fdbf66607 [GraphEditor] AttributeEditor: fix dynamic setting of attributes' height
By setting the height on the "onLoaded" event, no height update was
possible unless the component was unloaded (which happens when "active"
gets set to false) first and then reloaded (which happens when "active"
gets set to true). If an attribute was to be hidden (by unchecking the
"advanced attributes" checkbox, for example), its content was effectively
hidden, but as its height was not being updated, a blank block remained
in its place.

Similarly, for attributes that are filled with a lot of content after
being initialized (ChoiceParams, for example), the height was set once
at the attribute's initialization but never updated afterwards.
2023-07-04 12:04:15 +02:00
Candice Bentéjac
091346cbb8 [qml] Optimize QML files and fix syntax warnings
This commit addresses warnings that were raised by QtCreator's linter:
- IDs declared more than once
- variables declared more than once in the same scope
- type coercions
- variables declared as "var" when their type is known
- unclosed "case" in switch-case
2023-07-04 12:04:14 +02:00
Candice Bentéjac
8c2a7bba0f Qt5.15: Force QML_XHR_ALLOW_FILE_READ environment variable to 1
Setting this variable allows to keep on using "GET" on local files
with XMLHttpRequest.
2023-07-04 11:59:36 +02:00
Candice Bentéjac
db7fdefacb [ImageGallery] Check the intrinsics model is not null before using it 2023-07-04 11:59:35 +02:00
Candice Bentéjac
422d9da48c [Viewer] Prevent accessing null objects 2023-07-04 11:59:35 +02:00
Candice Bentéjac
4eac23a52d [GraphEditor] Prevent accessing null objects 2023-07-03 12:11:36 +02:00
Candice Bentéjac
7888ab7195 [GraphEditor] Qt5.15: fix binding loop warning on "height" attribute 2023-07-03 12:11:35 +02:00
Candice Bentéjac
8c494198e0 [qml] Qt5.15: Update syntax for slots
Slots now need to be written as function; the previous syntax is
deprecated.
2023-07-03 12:11:33 +02:00
Candice Bentéjac
62ba08447d [qml] Qt5.15: Upgrade all remaining modules
The upgrade concerns the following modules:
- QtCharts
- QtPositioning
- QtLocation
- QtGraphicalEffects
- QtQml
2023-07-03 12:11:32 +02:00
Candice Bentéjac
423de8ccfe [qml] Qt5.15: Upgrade all Qt3D modules 2023-07-03 12:11:31 +02:00
Candice Bentéjac
9b5dd40b02 [qml] Qt5.15: Upgrade all QtQuick modules 2023-07-03 12:11:29 +02:00
Candice Bentéjac
eabb146d42 [requirements] Update to PySide version to 5.15.2.1 2023-07-03 12:11:26 +02:00
Candice Bentéjac
d7e3003aa5
Merge pull request #1951 from rakhnin/develop
Update build-ubuntu.sh
2023-06-28 11:35:11 +02:00
Loïc Vital
24fc217ec6
Merge pull request #1974 from alicevision/dev/splitReconstructed
Node to split reconstructed and not reconstructed cameras
2023-06-27 15:26:58 +02:00
Loïc Vital
58d30467cf
Merge pull request #2076 from alicevision/dev/imageSegmentation
semantic image segmentation
2023-06-27 11:51:07 +02:00
Loïc Vital
a89b0c4dac
Merge pull request #2085 from alicevision/start2023.3
Start Development 2023.3
2023-06-27 09:54:44 +02:00
Candice Bentéjac
a6ac0bcf49 [release] Update version to "2023.3.0" and to "develop" status 2023-06-26 19:33:52 +02:00
Loïc Vital
e46ec45c1e
Merge pull request #2077 from alicevision/rc2023.2
Release 2023.2
2023-06-26 18:25:42 +02:00
Candice Bentéjac
76d3c8c763 [requirements] Downgrade "requests" to 2.27.1 for compatibility
Requests 2.31.0 is not supported by CentOS 7.
2023-06-26 15:07:30 +02:00
Candice Bentéjac
db3ea95a67 [doc] CHANGES: Add release note for Meshroom 2023.2.0 2023-06-26 15:07:15 +02:00
Candice Bentéjac
e62f8e3e59 [doc] README: Update references to Meshroom's version 2023-06-26 15:03:55 +02:00
Candice Bentéjac
1821320628 [pipelines] Update release version
Additionally update all the version of all the nodes, in case some nodes'
minor was not up-to-date.
2023-06-26 15:03:54 +02:00
Candice Bentéjac
123a12591e [release] Update version status to "release" for 2023.2 2023-06-26 15:03:54 +02:00
Loïc Vital
bdb3a0a3c3
Merge pull request #2083 from alicevision/build/sphereDetectionSetup
Set `ALICEVISION_SPHERE_DETECTION_MODEL` variable during the initialisation
2023-06-26 14:37:40 +02:00
Candice Bentéjac
b8b65688e6 Set ALICEVISION_SPHERE_DETECTION_MODEL variable
The `ALICEVISION_SPHERE_DETECTION` variable needs to be declared and set
using the installation path. If it is not, no node using it will be able
to work unless the users set this environment variable on their own.
2023-06-26 12:01:39 +02:00
Loïc Vital
1d25ee2519 [nodes] ImageSegmentation: parallelization 2023-06-22 00:14:41 -07:00
Loïc Vital
1bb1568280 [nodes] ImageSegmentation: set GPU level for farm submission 2023-06-21 18:24:58 +02:00
Loïc Vital
161c7ba25d [nodes] FeatureExtraction: add maskExtension and maskInvert params 2023-06-21 18:18:22 +02:00
Loïc Vital
d4d5169d15 [nodes] ImageSegmentation: ChoiceParam instead of StringParam for classe names 2023-06-21 15:57:14 +02:00
Loïc Vital
7a20d27365 [nodes] ImageSegmentation: image output attr to visualize masks in Viewer2D 2023-06-21 15:37:17 +02:00
Loïc Vital
84ce8f475e [nodes] ImageSegmentation: cosmetic changes 2023-06-21 15:29:18 +02:00
Candice Bentéjac
851099d7a7
Merge pull request #2074 from alicevision/mug/scenePreviewFreestyle
[blender] preview: use Freestyle for line art shading
2023-06-21 12:43:49 +02:00
Loïc Vital
b3d2b18f44 [blender] preview: use Freestyle for line art shading 2023-06-21 11:59:10 +02:00
Fabien SERVANT
8bd666207a Parameterize model path 2023-06-20 14:43:03 +02:00
Fabien SERVANT
8165310b80 imageSegmentation node 2023-06-20 13:40:02 +02:00
Candice Bentéjac
2041f06126
Merge pull request #2071 from alicevision/mug/scenePreviewOcclusions
[blender] preview: occlusions in wireframe shading
2023-06-20 11:27:34 +02:00
Loïc Vital
4d6fe4c3a9 [blender] preview: use Holdout instead of TransparentBSDF for wireframe occlusions 2023-06-19 16:03:20 +02:00
Fabien Castan
05b9ece40f
Merge pull request #2067 from alicevision/doc/sphereDetectionModel
[doc] INSTALL: Add info about the sphere detection model
2023-06-16 19:23:26 +02:00
Candice Bentéjac
51574e3521
Merge pull request #2066 from alicevision/mug/scenePreviewChunks
[nodes] parallelize ScenePreview
2023-06-16 18:48:08 +02:00
Candice Bentéjac
c0a628106b [doc] INSTALL: Add info about the sphere detection model 2023-06-16 18:23:32 +02:00