diff options
author | Campbell Barton <campbell@blender.org> | 2022-10-04 08:52:10 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-10-04 08:52:10 +0300 |
commit | 6b76381e0a52cf15513087e470a4a4c07471acc6 (patch) | |
tree | 92c0e1405a6a312f63cac77c9cfbb6f60f285375 /source/blender/python | |
parent | bf4926b30c6fc7b9f98dde508b7b644feaf21022 (diff) |
Cleanup: rename BKE_appdir_folder_id_version, improve doc-strings
Rename BKE_appdir_folder_id_version to
BKE_appdir_resource_path_id_with_version because BKE_appdir_folder_id
and BKE_appdir_folder_id_version didn't accept compatible arguments.
Also add notes to GHOST_getSystemDir & GHOST_getUserDir that
BKE_appdir_resource_path_id(..) should be used instead (in most cases).
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/intern/bpy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy.c b/source/blender/python/intern/bpy.c index 3b3ffb321c3..861b4dddff9 100644 --- a/source/blender/python/intern/bpy.c +++ b/source/blender/python/intern/bpy.c @@ -322,7 +322,7 @@ static PyObject *bpy_resource_path(PyObject *UNUSED(self), PyObject *args, PyObj return NULL; } - path = BKE_appdir_folder_id_version(type.value_found, (major * 100) + minor, false); + path = BKE_appdir_resource_path_id_with_version(type.value_found, (major * 100) + minor, false); return PyC_UnicodeFromByte(path ? path : ""); } |