From 43fa4baa6cd704f35cb2086b21d703033de4e17e Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 23 Nov 2014 15:54:29 +0100 Subject: Refactor: BLI_path_util (part 2) Use BKE_appdir/tempdir naming prefix for functions extracted from BLI_path_util --- source/blender/python/intern/bpy_app.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/python/intern/bpy_app.c') diff --git a/source/blender/python/intern/bpy_app.c b/source/blender/python/intern/bpy_app.c index ae1443cd949..7e943b2f4bf 100644 --- a/source/blender/python/intern/bpy_app.c +++ b/source/blender/python/intern/bpy_app.c @@ -136,7 +136,7 @@ static PyObject *make_app_info(void) SetStrItem(STRINGIFY(BLENDER_VERSION_CHAR)); SetStrItem(STRINGIFY(BLENDER_VERSION_CYCLE)); - SetStrItem(BLI_program_path()); + SetStrItem(BKE_appdir_program_path()); SetObjItem(PyBool_FromLong(G.background)); /* build info, use bytes since we can't assume _any_ encoding: @@ -251,7 +251,7 @@ PyDoc_STRVAR(bpy_app_tempdir_doc, ); static PyObject *bpy_app_tempdir_get(PyObject *UNUSED(self), void *UNUSED(closure)) { - return PyC_UnicodeFromByte(BLI_temp_dir_session()); + return PyC_UnicodeFromByte(BKE_tempdir_session()); } PyDoc_STRVAR(bpy_app_driver_dict_doc, -- cgit v1.2.3