Refactor: BLI_path_util (part 2)
Use BKE_appdir/tempdir naming prefix for functions extracted from BLI_path_util
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user