[Bf-blender-cvs] [2fb86d8] gooseberry: Add more info to the "make paths relative" operator to show which paths where actually changed.
Lukas Tönne
noreply at git.blender.org
Fri Feb 6 12:09:25 CET 2015
Commit: 2fb86d80fcae195c06961bf1408a5f002d72459d
Author: Lukas Tönne
Date: Fri Feb 6 12:08:42 2015 +0100
Branches: gooseberry
https://developer.blender.org/rB2fb86d80fcae195c06961bf1408a5f002d72459d
Add more info to the "make paths relative" operator to show which paths
where actually changed.
===================================================================
M source/blender/blenkernel/intern/bpath.c
===================================================================
diff --git a/source/blender/blenkernel/intern/bpath.c b/source/blender/blenkernel/intern/bpath.c
index e6bfd5c..4738e34 100644
--- a/source/blender/blenkernel/intern/bpath.c
+++ b/source/blender/blenkernel/intern/bpath.c
@@ -120,6 +120,7 @@ static bool bpath_relative_convert_visit_cb(void *userdata, char *path_dst, cons
strcpy(path_dst, path_src);
BLI_path_rel(path_dst, data->basedir);
if (BLI_path_is_rel(path_dst)) {
+ BKE_reportf(data->reports, RPT_INFO, "Path '%s' made relative to '%s'", path_src, path_dst);
data->count_changed++;
}
else {
More information about the Bf-blender-cvs
mailing list