Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2014-05-03 04:17:37 +0400
committerDalai Felinto <dfelinto@gmail.com>2014-05-03 04:17:37 +0400
commit3cfab89f5ae3114a2a26decda7a485b95ad1f339 (patch)
treeae58e9723c6cb18cc34826cefd0c3af714f164f3
parent34102715921f69c827d44041dcba3d3d69c5a7e1 (diff)
Cycles-Bake: incorporate object name to the automatic naming systembake-cycles
last commit before merging to master ...
-rw-r--r--source/blender/editors/object/object_bake_api.c1
1 files changed, 1 insertions, 0 deletions
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, "_");
}