92d5c2078e5885ff645719c0072e008e7bd3531c
This patch adds a new Media Type option to image format settings, which is used in the Render Output panel, File Output node, and Image Saving operation. The option does not provide any new functionality, but improves the UX of selecting file types by categorizing the existing file type option into: - Image. - Multi-Layer EXR. - Video. Each option would then list only the file types that fit that media type. For Multi-Layer and Video, the file type option is no longer drawn for now since only one option exist for now, OpenEXR Multi-Layer and FFMPEG respectively. This also improves the experience by not listing technical terms like FFMPEG in the UI, but rather use "Video" instead. The original motivation for introducing this option is the recent redesign of the File Output node. The problem is that the distinction between images and multi-layers images is not at all clear, while the behavior of the node changes quite a bit when multi-layer is chosen. While now with the new option, the distinction is quite clear. Implementation-wise, the new option is mostly a UI layer that controls the available enum items for the file format and callbacks to set a default format if the existing format doesn't match the media type. However, core code is unaffected and still transparently reads the image format only. Pull Request: https://projects.blender.org/blender/blender/pulls/142955
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline—modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
