From 3cfab89f5ae3114a2a26decda7a485b95ad1f339 Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Fri, 2 May 2014 21:17:37 -0300 Subject: Cycles-Bake: incorporate object name to the automatic naming system last commit before merging to master ... --- source/blender/editors/object/object_bake_api.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/blender/editors/object/object_bake_api.c b/source/blender/editors/object/object_bake_api.c index 211d695fea1..813e28b25ed 100644 --- a/source/blender/editors/object/object_bake_api.c +++ b/source/blender/editors/object/object_bake_api.c @@ -740,6 +740,7 @@ static int bake(Main *bmain, Scene *scene, Object *ob_low, ListBase *selected_ob BKE_makepicstring_from_type(name, filepath, bmain->name, 0, bake->im_format.imtype, true, false); if (is_automatic_name) { + BLI_path_suffix(name, FILE_MAX, ob_low->id.name + 2, "_"); BLI_path_suffix(name, FILE_MAX, identifier, "_"); } -- cgit v1.2.3