Blender Git Commit Log

Git Commits -> Revision fe7c7d2

Revision fe7c7d2 by Philipp Oeser (master)
March 20, 2019, 04:38 (GMT)
Fix T62736: Inconsistent behavior bpy.utils.user_resource()

If a subfolder was specified which didn't exist, logic would fallback
to get_path_user (instead of get_path_environment).

Now always use the from the environment variable if it's set and exists.

Commit Details:

Full Hash: fe7c7d2820f84b815eec5d9c322c7192f33b04b8
Parent Commit: 4e2aea5
Committed By: Campbell Barton
Lines Changed: +35, -9

2 Modified Paths:

/source/blender/blenkernel/intern/appdir.c (+34, -5) (Diff)
/source/blender/python/intern/bpy.c (+1, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021