41739cd3fd74c0771f51bc1d85504dc0dbc7f381
Workaround potential C-API `FILE` incompatibility by reading the file data into memory, compiling & running it - matching existing logic for text buffers text buffers. This replaces the in-lined stub-script that re-opened the file from Python. While the down-side of the stub-script was minor, it required some non-obvious logic and had the disadvantage of requiring 2x scripts to execute whenever a file was executed on WIN32. Expose BLI_file_read_data_as_mem_from_handle as a public function since it's useful to be able to read an existing FILE into memory.
…
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%
