Bug fixes for audio textures

This commit is contained in:
Digital Artifex
2025-08-10 05:06:15 -04:00
parent 396b1cb104
commit 49ae3bb429
7 changed files with 73 additions and 96 deletions

View File

@@ -88,16 +88,13 @@ Item
{
id: selectionModel
// Commented out Audio channel as it is not implemented yet
// ListElement
// {
// file: true
// name: "Audio"
// icon: "qrc:/icons/audio.svg"
// title: "Select an Audio File"
// filter: "MP3 Files (*.mp3):WAV Files (*.wav)"
// type: ShaderChannel.Type.AudioChannel
// }
ListElement
{
file: true
name: "Audio"
icon: "./icons/audio.svg"
type: ShaderChannel.Type.AudioChannel
}
ListElement
{
@@ -271,6 +268,7 @@ Item
RowLayout
{
visible: window.tmp_type != ShaderChannel.Type.AudioChannel
Layout.alignment: Qt.AlignTop
Label
@@ -611,6 +609,8 @@ Item
case ShaderChannel.Type.VideoChannel:
window.currentFolder = window.videoFolder
break;
case ShaderChannel.Type.AudioChannel:
break;
}
// Set the current selection index