Blender Git Commit Log

Git Commits -> Revision a0633e2

Revision a0633e2 by Campbell Barton (master)
November 1, 2021, 02:11 (GMT)
Fix crash when "HOME" environment variable isn't defined

Accessing the default directory in the file selector
would crash if HOME was undefined.

Add BKE_appdir_folder_default_or_root which never returns NULL.

Commit Details:

Full Hash: a0633e2484f21c9f80842c10b46b3af98b54d25a
Parent Commit: d4d38e8
Lines Changed: +41, -14

6 Modified Paths:

/source/blender/blenkernel/BKE_appdir.h (+5, -1) (Diff)
/source/blender/blenkernel/intern/appdir.c (+20, -0) (Diff)
/source/blender/blenlib/BLI_winstuff.h (+1, -1) (Diff)
/source/blender/blenlib/intern/winstuff.c (+1, -1) (Diff)
/source/blender/editors/space_file/file_ops.c (+4, -2) (Diff)
/source/blender/editors/space_file/fsmenu.c (+10, -9) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021