Skip to content

Commit ed41b8d

Browse files
committed
[qt6] Viewer3D: Reset the default render mode to "Textured"
1 parent 80ffc59 commit ed41b8d

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

meshroom/ui/qml/Viewer3D/DepthMapLoader.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ DepthMapEntity {
1010

1111
pointSize: Viewer3DSettings.pointSize * (Viewer3DSettings.fixedPointSize ? 1.0 : 0.001)
1212
// Map render modes to custom visualization modes
13-
displayMode: Viewer3DSettings.renderMode == 0 ? DepthMapEntity.Points : DepthMapEntity.Triangles
14-
displayColor: Viewer3DSettings.renderMode == 1
13+
displayMode: Viewer3DSettings.renderMode == 1 ? DepthMapEntity.Points : DepthMapEntity.Triangles
14+
displayColor: Viewer3DSettings.renderMode == 2
1515
}

meshroom/ui/qml/Viewer3D/Inspector3D.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ FloatingPane {
1414

1515
implicitWidth: 200
1616

17-
property int renderMode: 1
17+
property int renderMode: 2
1818
property Grid3D grid: null
1919
property MediaLibrary mediaLibrary
2020
property Camera camera

meshroom/ui/qml/Viewer3D/Viewer3D.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import Utils 1.0
1515
FocusScope {
1616
id: root
1717

18-
property int renderMode: 1
18+
property int renderMode: 2
1919
readonly property alias library: mediaLibrary
2020
readonly property alias mainCamera: mainCamera
2121

@@ -283,7 +283,7 @@ FocusScope {
283283
}
284284

285285
FloatingPane {
286-
visible: Viewer3DSettings.renderMode == 2
286+
visible: Viewer3DSettings.renderMode == 3
287287
anchors.bottom: renderModesPanel.top
288288
GridLayout {
289289
columns: 2

meshroom/ui/qml/Viewer3D/Viewer3DSettings.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Item {
3535
{"name": "Spherical Harmonics", "icon": MaterialIcons.brightness_7}
3636
]
3737
// Current render mode
38-
property int renderMode: 1
38+
property int renderMode: 2
3939

4040
// Spherical Harmonics file
4141
property string shlFile: ""

0 commit comments

Comments
 (0)