[Bf-blender-cvs] [3cfab89] bake-cycles: Cycles-Bake: incorporate object name to the automatic naming system

Dalai Felinto noreply at git.blender.org
Sat May 3 02:18:07 CEST 2014


Commit: 3cfab89f5ae3114a2a26decda7a485b95ad1f339
Author: Dalai Felinto
Date:   Fri May 2 21:17:37 2014 -0300
https://developer.blender.org/rB3cfab89f5ae3114a2a26decda7a485b95ad1f339

Cycles-Bake: incorporate object name to the automatic naming system

last commit before merging to master ...

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

M	source/blender/editors/object/object_bake_api.c

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

diff --git a/source/blender/editors/object/object_bake_api.c b/source/blender/editors/object/object_bake_api.c
index 211d695..813e28b 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, "_");
 				}




More information about the Bf-blender-cvs mailing list