[Bf-blender-cvs] [18a1e17] master: OpenCollada: Fix error in printf-format (too much arguments).

Bastien Montagne noreply at git.blender.org
Thu Jan 9 20:38:10 CET 2014


Commit: 18a1e17a203444c78d1f6537870a5d7f1ad03aae
Author: Bastien Montagne
Date:   Thu Jan 9 20:34:02 2014 +0100
https://developer.blender.org/rB18a1e17a203444c78d1f6537870a5d7f1ad03aae

OpenCollada: Fix error in printf-format (too much arguments).

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

M	source/blender/collada/DocumentExporter.cpp

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

diff --git a/source/blender/collada/DocumentExporter.cpp b/source/blender/collada/DocumentExporter.cpp
index ee0326d..7398126c 100644
--- a/source/blender/collada/DocumentExporter.cpp
+++ b/source/blender/collada/DocumentExporter.cpp
@@ -228,7 +228,7 @@ void DocumentExporter::exportCurrentScene(Scene *sce)
 	}
 	char version_buf[128];
 #ifdef WITH_BUILDINFO
-	BLI_snprintf(version_buf, sizeof(version_buf), "Blender %d.%02d.%d commit date:%s, hash:",
+	BLI_snprintf(version_buf, sizeof(version_buf), "Blender %d.%02d.%d commit date:%s, commit time:%s, hash:%s",
 	             BLENDER_VERSION / 100, BLENDER_VERSION % 100, BLENDER_SUBVERSION,
 	             build_commit_date, build_commit_time, build_hash);
 #else




More information about the Bf-blender-cvs mailing list