98dd91f4180bfa986c3e2f91cfee452388869615
Ensure the file path G.main->filepath is always absolute and normalized. - It was possible to call WM_OT_open_mainfile with only a filename, if this resolved from the CWD, Blender's internal filepath would not be absolute as expected. - It was possible to open files on UNIX with an additional forward slash causing the blend file path it's self to contain a '//' prefix, this is error prone as running BLI_path_abs(..) multiple times would add the blend file prefix each time. - Remove requirement for "filepath" to be an absolute path when saving. Instead, expand the path - making it absolute, as this constraint wasn't applied open opening files, prefer making save/open behave consistently. - Assert when BLI_path_abs/BLI_path_rel receive a basepath that has a "//" (relative) prefix itself.
…
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%
