make LUT files case insensitive

This commit is contained in:
cubiq
2024-05-29 12:34:35 +02:00
parent 1f8f5ced9c
commit e7b7c1a6a6
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -1,4 +1,5 @@
/__pycache__/
/luts/*.cube
/luts/*.CUBE
/fonts/*.ttf
/fonts/*.otf
+1 -1
View File
@@ -733,7 +733,7 @@ class ImageApplyLUT:
return {
"required": {
"image": ("IMAGE",),
"lut_file": ([f for f in os.listdir(LUTS_DIR) if f.endswith('.cube')], ),
"lut_file": ([f for f in os.listdir(LUTS_DIR) if f.lower().endswith('.cube')], ),
"log_colorspace": ("BOOLEAN", { "default": False }),
"clip_values": ("BOOLEAN", { "default": False }),
"strength": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.1 }),