b3ba6465f494f4c0ddefcec1c4431108ad2a4223
Improve mmap handling of IO errors on WIN32. Make MMAP gracefully handle IO errors on Windows by replacing the mapping with zeros using a vectored exception handler when an EXCEPTION_IN_PAGE_ERROR is raised. This is similar to how such errors are handled on non-Windows platforms. On Windows, this is implemented by first creating a placeholder allocation and then mapping the file into it. When an error occurs, the exception handler unmaps the file, keeping the placeholder intact, and creates an anonymous mapping into it, after which execution can continue. Since some required functions don't exist on older Windows versions, the error handling will only work on Windows 10, version 1803 or newer. Ref !139739
…
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%
