[qt6][Viewer3D] Disable wireframe mode

Disable and hide the wireframe mode as the shaders need to be updated
for RHI.
This commit is contained in:
Candice Bentéjac 2024-10-01 17:22:08 +02:00
parent 77bd2a7145
commit 240188c0b4
5 changed files with 16 additions and 12 deletions

View file

@ -29,12 +29,12 @@ Item {
// Available render modes
readonly property var renderModes: [ // Can't use ListModel because of MaterialIcons expressions
{"name": "Solid", "icon": MaterialIcons.crop_din },
{"name": "Wireframe", "icon": MaterialIcons.details },
/* {"name": "Wireframe", "icon": MaterialIcons.details }, */
{"name": "Textured", "icon": MaterialIcons.texture },
{"name": "Spherical Harmonics", "icon": MaterialIcons.brightness_7}
]
// Current render mode
property int renderMode: 2
property int renderMode: 1
// Spherical Harmonics file
property string shlFile: ""