Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/bpath.c
| Show First 20 Lines • Show All 159 Lines • ▼ Show 20 Lines | |||||
| } | } | ||||
| void BKE_bpath_relative_rebase(Main *bmain, | void BKE_bpath_relative_rebase(Main *bmain, | ||||
| const char *basedir_src, | const char *basedir_src, | ||||
| const char *basedir_dst, | const char *basedir_dst, | ||||
| ReportList *reports) | ReportList *reports) | ||||
| { | { | ||||
| BPathRebase_Data data = {NULL}; | BPathRebase_Data data = {NULL}; | ||||
| const int flag = BKE_BPATH_TRAVERSE_SKIP_LIBRARY; | const int flag = (BKE_BPATH_TRAVERSE_SKIP_LIBRARY | BKE_BPATH_TRAVERSE_SKIP_MULTIFILE); | ||||
| BLI_assert(basedir_src[0] != '\0'); | BLI_assert(basedir_src[0] != '\0'); | ||||
| BLI_assert(basedir_dst[0] != '\0'); | BLI_assert(basedir_dst[0] != '\0'); | ||||
| data.basedir_src = basedir_src; | data.basedir_src = basedir_src; | ||||
| data.basedir_dst = basedir_dst; | data.basedir_dst = basedir_dst; | ||||
| data.reports = reports; | data.reports = reports; | ||||
| ▲ Show 20 Lines • Show All 721 Lines • Show Last 20 Lines | |||||