fix cv2 exr export

This commit is contained in:
kijai
2023-12-15 12:15:35 +02:00
parent f4c05b0b34
commit 6b143fbee2
2 changed files with 2 additions and 1 deletions
-1
View File
@@ -221,7 +221,6 @@ class SaveImageOpenEXR:
except ImportError:
raise ImportError("No OpenEXR or OpenCV module found, can't save EXR")
self.output_dir = folder_paths.get_output_directory()
self.type = "output"
self.prefix_append = ""
+2
View File
@@ -0,0 +1,2 @@
import os
os.environ["OPENCV_IO_ENABLE_OPENEXR"] = "1"