Merged changes in the trunk up to revision 36092.
Conflicts resolved: source/blender/makesrna/SConscript source/blender/makesrna/intern/CMakeLists.txt source/blender/render/intern/source/pipeline.c
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
#include "bpy_operator.h"
|
||||
|
||||
#include "BLI_path_util.h"
|
||||
#include "BLI_string.h"
|
||||
#include "BLI_bpath.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
@@ -117,7 +118,7 @@ static PyObject *bpy_blend_paths(PyObject *UNUSED(self), PyObject *args, PyObjec
|
||||
}
|
||||
else {
|
||||
lib= BLI_bpathIterator_getLib(bpi);
|
||||
if (lib && (strcmp(lib, BLI_bpathIterator_getBasePath(bpi)))) { /* relative path to the library is NOT the same as our blendfile path, return an absolute path */
|
||||
if (lib && (BLI_path_cmp(lib, BLI_bpathIterator_getBasePath(bpi)))) { /* relative path to the library is NOT the same as our blendfile path, return an absolute path */
|
||||
BLI_bpathIterator_getPathExpanded(bpi, filepath_expanded);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user