fix [#26803] Libs paths are case sensitive in windows

use case insensitive path comparison on windows: BLI_path_cmp
This commit is contained in:
2011-04-06 06:03:48 +00:00
parent 5c7bed92d4
commit a7507e945d
17 changed files with 38 additions and 34 deletions

View File

@@ -115,7 +115,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 {