[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [39562] branches/soc-2011-tomato/source/ blender/editors/space_clip/tracking_ops.c: Camera tracking integration
Sergey Sharybin
g.ulairi at gmail.com
Fri Aug 19 21:10:51 CEST 2011
Revision: 39562
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=39562
Author: nazgul
Date: 2011-08-19 19:10:50 +0000 (Fri, 19 Aug 2011)
Log Message:
-----------
Camera tracking integration
===========================
Fixed bug with undo push and tracking operator.
Was caused by some old refactor of jobs owned by screen area.
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-08-19 18:24:42 UTC (rev 39561)
+++ branches/soc-2011-tomato/source/blender/editors/space_clip/tracking_ops.c 2011-08-19 19:10:50 UTC (rev 39562)
@@ -1418,8 +1418,8 @@
static int track_markers_modal(bContext *C, wmOperator *UNUSED(op), wmEvent *event)
{
/* no running blender, remove handler and pass through */
- if(0==WM_jobs_test(CTX_wm_manager(C), CTX_data_scene(C)))
- return OPERATOR_FINISHED|OPERATOR_PASS_THROUGH;
+ if(0==WM_jobs_test(CTX_wm_manager(C), CTX_wm_area(C)))
+ return OPERATOR_FINISHED;
/* running tracking */
switch (event->type) {
More information about the Bf-blender-cvs
mailing list