[Bf-blender-cvs] [f779b39] bake-cycles: Cycles-Bake: bakepixels > bake_pixels

Dalai Felinto noreply at git.blender.org
Wed Apr 23 02:46:28 CEST 2014


Commit: f779b3985f7d2dc7e5aa0d21f49bf9726d7d38d6
Author: Dalai Felinto
Date:   Tue Jan 14 10:58:02 2014 -0200
https://developer.blender.org/rBf779b3985f7d2dc7e5aa0d21f49bf9726d7d38d6

Cycles-Bake: bakepixels > bake_pixels

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

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

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

diff --git a/source/blender/editors/object/object_bake_new.c b/source/blender/editors/object/object_bake_new.c
index a595725..ab86123 100644
--- a/source/blender/editors/object/object_bake_new.c
+++ b/source/blender/editors/object/object_bake_new.c
@@ -121,7 +121,7 @@ static int bake_break(void *UNUSED(rjv))
 	return 0;
 }
 
-static bool write_external_bakepixels(const char *filepath, float *buffer, const int width, const int height, const int depth)
+static bool write_external_bake_pixels(const char *filepath, float *buffer, const int width, const int height, const int depth)
 {
 	ImBuf *ibuf = NULL;
 	short ok = FALSE;
@@ -269,7 +269,7 @@ static int bake_exec(bContext *C, wmOperator *op)
 		/* save the result */
 		if (is_external) {
 			/* save it externally */
-			ok = write_external_bakepixels(filepath, result, width, height, depth);
+			ok = write_external_bake_pixels(filepath, result, width, height, depth);
 			if (!ok) {
 				char *error = NULL;
 				error = BLI_sprintfN("Problem saving baked map in \"%s\".", filepath);




More information about the Bf-blender-cvs mailing list