[Bf-blender-cvs] [94e9742] gooseberry: Print actual changed paths in the "make paths absolute" operator.

Lukas Tönne noreply at git.blender.org
Fri Feb 6 12:19:03 CET 2015


Commit: 94e97424534ca74aa1d9e3eb081fb315a365940d
Author: Lukas Tönne
Date:   Fri Feb 6 12:18:32 2015 +0100
Branches: gooseberry
https://developer.blender.org/rB94e97424534ca74aa1d9e3eb081fb315a365940d

Print actual changed paths in the "make paths absolute" operator.

===================================================================

M	source/blender/blenkernel/intern/bpath.c

===================================================================

diff --git a/source/blender/blenkernel/intern/bpath.c b/source/blender/blenkernel/intern/bpath.c
index 4738e34..b644afc 100644
--- a/source/blender/blenkernel/intern/bpath.c
+++ b/source/blender/blenkernel/intern/bpath.c
@@ -164,6 +164,7 @@ static bool bpath_absolute_convert_visit_cb(void *userdata, char *path_dst, cons
 		strcpy(path_dst, path_src);
 		BLI_path_abs(path_dst, data->basedir);
 		if (BLI_path_is_rel(path_dst) == false) {
+			BKE_reportf(data->reports, RPT_INFO, "Path '%s' made absolute to '%s'", path_src, path_dst);
 			data->count_changed++;
 		}
 		else {




More information about the Bf-blender-cvs mailing list