improve resize flash operation, fixup xv grab/ungrab, fixup label updates
[goodguy/history.git] / cinelerra-5.1 / cinelerra / fileexr.C
index 1beb3a7c6b9b7293da1c7ba283a480c533366f1a..2589a0067c34ca42bbef1843564107e938395122 100644 (file)
@@ -313,6 +313,7 @@ int FileEXR::read_frame_header(char *path)
                native_cmodel = BC_RGBA_FLOAT;
        else
                native_cmodel = BC_RGB_FLOAT;
+       asset->exr_use_alpha = BC_CModels::has_alpha(native_cmodel) ? 1 : 0;
 
        if(channels.findChannel("Y"))
                is_yuv = 1;