[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [37378] branches/soc-2011-tomato/source/ blender/editors/space_clip/tracking_ops.c: Camera tracking integration

Sergey Sharybin g.ulairi at gmail.com
Fri Jun 10 21:03:43 CEST 2011


Revision: 37378
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=37378
Author:   nazgul
Date:     2011-06-10 19:03:43 +0000 (Fri, 10 Jun 2011)
Log Message:
-----------
Camera tracking integration
===========================

Fixes for windows compilation

Modified Paths:
--------------
    branches/soc-2011-tomato/source/blender/editors/space_clip/tracking_ops.c

Modified: branches/soc-2011-tomato/source/blender/editors/space_clip/tracking_ops.c
===================================================================
--- branches/soc-2011-tomato/source/blender/editors/space_clip/tracking_ops.c	2011-06-10 19:02:22 UTC (rev 37377)
+++ branches/soc-2011-tomato/source/blender/editors/space_clip/tracking_ops.c	2011-06-10 19:03:43 UTC (rev 37378)
@@ -27,8 +27,6 @@
  * ***** END GPL LICENSE BLOCK *****
  */
 
-//#include <errno.h>
-
 #include "MEM_guardedalloc.h"
 
 #include "DNA_movieclip_types.h"
@@ -39,6 +37,7 @@
 #include "BLI_math.h"
 #include "BLI_listbase.h"
 #include "BLI_rect.h"
+#include "BLI_blenlib.h"
 
 #include "BKE_context.h"
 #include "BKE_movieclip.h"
@@ -182,7 +181,7 @@
 	switch(event->type) {
 		case MOUSEMOVE:
 			mouse_pos(C, event, &x, &y);
-			snprintf(buf, sizeof(buf), "Position for new marker X:%.0f Y:%.0f", x, y);
+			BLI_snprintf(buf, sizeof(buf), "Position for new marker X:%.0f Y:%.0f", x, y);
 			ED_area_headerprint(sa, buf);
 			break;
 		case LEFTMOUSE:




More information about the Bf-blender-cvs mailing list