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

Sergey Sharybin g.ulairi at gmail.com
Mon May 30 08:01:28 CEST 2011


Revision: 37015
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=37015
Author:   nazgul
Date:     2011-05-30 06:01:27 +0000 (Mon, 30 May 2011)
Log Message:
-----------
Camera tracking integration
===========================

Set of small fixes for Windows platform:
- Fix undefined reference to size_t from clip_editor.c
- Fix for current frame line in cache visualizer.

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

Modified: branches/soc-2011-tomato/source/blender/editors/space_clip/clip_draw.c
===================================================================
--- branches/soc-2011-tomato/source/blender/editors/space_clip/clip_draw.c	2011-05-30 05:57:33 UTC (rev 37014)
+++ branches/soc-2011-tomato/source/blender/editors/space_clip/clip_draw.c	2011-05-30 06:01:27 UTC (rev 37015)
@@ -90,6 +90,8 @@
 		}
 	}
 
+	glDisable(GL_BLEND);
+
 	/* current frame */
 	x= (sc->user.framenr-sfra)/(efra-sfra+1)*ar->winx;
 
@@ -101,8 +103,6 @@
 		glVertex2f(x, 5);
 	glEnd();
 	glLineWidth(1.0);
-
-	glDisable(GL_BLEND);
 }
 
 static void draw_movieclip_buffer(ARegion *ar, ImBuf *ibuf, float zoom)

Modified: branches/soc-2011-tomato/source/blender/editors/space_clip/clip_editor.c
===================================================================
--- branches/soc-2011-tomato/source/blender/editors/space_clip/clip_editor.c	2011-05-30 05:57:33 UTC (rev 37014)
+++ branches/soc-2011-tomato/source/blender/editors/space_clip/clip_editor.c	2011-05-30 06:01:27 UTC (rev 37015)
@@ -31,6 +31,8 @@
  *  \ingroup spclip
  */
 
+#include <stddef.h>
+
 #include "BKE_main.h"
 #include "BKE_movieclip.h"
 #include "BKE_context.h"




More information about the Bf-blender-cvs mailing list