[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [28213] trunk/blender: MSVC 9 projectfiles update
Andrea Weikert
elubie at gmx.net
Thu Apr 15 19:44:51 CEST 2010
Revision: 28213
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=28213
Author: elubie
Date: 2010-04-15 19:44:48 +0200 (Thu, 15 Apr 2010)
Log Message:
-----------
MSVC 9 projectfiles update
* blenlib/math_geom_inline.c
* also fix compile error with MSVC (snprintf not defined)
Modified Paths:
--------------
trunk/blender/projectfiles_vc9/blender/blenlib/BLI_blenlib.vcproj
trunk/blender/source/blender/editors/space_view3d/view3d_draw.c
Modified: trunk/blender/projectfiles_vc9/blender/blenlib/BLI_blenlib.vcproj
===================================================================
--- trunk/blender/projectfiles_vc9/blender/blenlib/BLI_blenlib.vcproj 2010-04-15 17:10:46 UTC (rev 28212)
+++ trunk/blender/projectfiles_vc9/blender/blenlib/BLI_blenlib.vcproj 2010-04-15 17:44:48 UTC (rev 28213)
@@ -584,6 +584,10 @@
>
</File>
<File
+ RelativePath="..\..\..\source\blender\blenlib\intern\math_geom_inline.c"
+ >
+ </File>
+ <File
RelativePath="..\..\..\source\blender\blenlib\intern\math_matrix.c"
>
</File>
Modified: trunk/blender/source/blender/editors/space_view3d/view3d_draw.c
===================================================================
--- trunk/blender/source/blender/editors/space_view3d/view3d_draw.c 2010-04-15 17:10:46 UTC (rev 28212)
+++ trunk/blender/source/blender/editors/space_view3d/view3d_draw.c 2010-04-15 17:44:48 UTC (rev 28213)
@@ -2162,11 +2162,11 @@
/* is this more then half a frame behind? */
if (fps+0.5 < FPS) {
UI_ThemeColor(TH_REDALERT);
- snprintf(printable, sizeof(printable), "fps: %.2f", (float)fps);
+ BLI_snprintf(printable, sizeof(printable), "fps: %.2f", (float)fps);
}
else {
UI_ThemeColor(TH_TEXT_HI);
- snprintf(printable, sizeof(printable), "fps: %i", (int)(fps+0.5));
+ BLI_snprintf(printable, sizeof(printable), "fps: %i", (int)(fps+0.5));
}
BLF_draw_default(22, ar->winy-17, 0.0f, printable);
More information about the Bf-blender-cvs
mailing list