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:
authorThomas Dinges <blender@dingto.org>2012-04-30 22:37:34 +0400
committerThomas Dinges <blender@dingto.org>2012-04-30 22:37:34 +0400
commitdf74a51bac173b8e47882801bf0f5d47d856f897 (patch)
tree995307d292a63151e724313dd8333fc1e3bd1c22 /source/blender/blenkernel/intern/blender.c
parente09a450d07e015d0b71c8fe65e5c5a79b3eab06a (diff)
Patch [#30681] Improved Display of Header Statistics by Harley Acheson (harley), thanks!
* This patch changes the header statistics to something more meaningful * Removed the blender.org string, version info is sufficient + not all Blender versions come directly from blender.org * Use names like Faces, rather than abbreviations. * Show Verts, Edges and Faces, independent of the current selection method in edit mode. * Added TriCount into the header. * Small change to the patch by myself, added a "v" in front of the version number.
Diffstat (limited to 'source/blender/blenkernel/intern/blender.c')
-rw-r--r--source/blender/blenkernel/intern/blender.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/blender.c b/source/blender/blenkernel/intern/blender.c
index 198d644b211..2b741d6d8eb 100644
--- a/source/blender/blenkernel/intern/blender.c
+++ b/source/blender/blenkernel/intern/blender.c
@@ -129,9 +129,9 @@ void initglobals(void)
strcpy(G.ima, "//");
if (BLENDER_SUBVERSION)
- BLI_snprintf(versionstr, sizeof(versionstr), "blender.org %d.%d", BLENDER_VERSION, BLENDER_SUBVERSION);
+ BLI_snprintf(versionstr, sizeof(versionstr), "v%d.%02d.%d", BLENDER_VERSION/100, BLENDER_VERSION%100, BLENDER_SUBVERSION);
else
- BLI_snprintf(versionstr, sizeof(versionstr), "blender.org %d", BLENDER_VERSION);
+ BLI_snprintf(versionstr, sizeof(versionstr), "v%d.%02d", BLENDER_VERSION/100, BLENDER_VERSION%100);
#ifdef _WIN32 // FULLSCREEN
G.windowstate = G_WINDOWSTATE_USERDEF;