Commit ad6258f1 authored by Ali Kianian's avatar Ali Kianian
Browse files

Correct Filters for CustomMaterial Shaders



Suitable filters are set for UrlChoosers of CustomMaterial shaders.

Vertex Shader: *.vert *.vsh *.glslv *.glsl
Fragment Shader: *.frag *.fsh *.glslf *.glsl

Task-number: QDS-7662
Pick-to: 6.3 6.4
Change-Id: If4530c051253f71f15b810e605fdb8f3efe888c9
Reviewed-by: Miikka Heikkinen's avatarMiikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Henning Gründl's avatarHenning Gründl <henning.gruendl@qt.io>
Reviewed-by: Samuel Ghinet's avatarSamuel Ghinet <samuel.ghinet@qt.io>
parent 293048b3
......@@ -36,7 +36,7 @@ Section {
SecondColumnLayout {
UrlChooser {
backendValue: backendValues.vertexShader
filter: "*.*"
filter: "*.vert *.vsh *.glslv *.glsl"
}
ExpandingSpacer {}
......@@ -50,7 +50,7 @@ Section {
SecondColumnLayout {
UrlChooser {
backendValue: backendValues.fragmentShader
filter: "*.*"
filter: "*.frag *.fsh *.glslf *.glsl"
}
ExpandingSpacer {}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment