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:
authorCampbell Barton <ideasman42@gmail.com>2014-04-01 04:34:00 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-04-01 08:22:28 +0400
commit617557b08ea94e2b65a1697ddf0b79651204d92b (patch)
tree50b24bab075b42fa20456140c9a9681cfb01325b /source/blender/editors/space_clip/tracking_ops.c
parent2c00ecc738c04dc5dc22d4a6b81a1e937526ba6d (diff)
Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define
Diffstat (limited to 'source/blender/editors/space_clip/tracking_ops.c')
-rw-r--r--source/blender/editors/space_clip/tracking_ops.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/editors/space_clip/tracking_ops.c b/source/blender/editors/space_clip/tracking_ops.c
index 22878d3a0cd..c59b6b8c8a1 100644
--- a/source/blender/editors/space_clip/tracking_ops.c
+++ b/source/blender/editors/space_clip/tracking_ops.c
@@ -1280,7 +1280,7 @@ static void track_markers_startjob(void *tmv, short *stop, short *do_update, flo
else if (!BKE_tracking_context_step(tmj->context))
break;
- *do_update = TRUE;
+ *do_update = true;
*progress = (float)(framenr - tmj->sfra) / (tmj->efra - tmj->sfra);
if (tmj->backwards)
@@ -2011,7 +2011,7 @@ static int set_orientation_poll(bContext *C)
MovieTrackingObject *tracking_object = BKE_tracking_object_get_active(tracking);
if (tracking_object->flag & TRACKING_OBJECT_CAMERA) {
- return TRUE;
+ return true;
}
else {
return OBACT != NULL;
@@ -2019,7 +2019,7 @@ static int set_orientation_poll(bContext *C)
}
}
- return FALSE;
+ return false;
}
static int count_selected_bundles(bContext *C)
@@ -2650,7 +2650,7 @@ static int set_solution_scale_poll(bContext *C)
}
}
- return FALSE;
+ return false;
}
static int set_solution_scale_exec(bContext *C, wmOperator *op)
@@ -2706,7 +2706,7 @@ static int apply_solution_scale_poll(bContext *C)
}
}
- return FALSE;
+ return false;
}
static int apply_solution_scale_exec(bContext *C, wmOperator *op)
@@ -3306,7 +3306,7 @@ static int stabilize_2d_poll(bContext *C)
return tracking_object->flag & TRACKING_OBJECT_CAMERA;
}
- return FALSE;
+ return false;
}
static int stabilize_2d_add_exec(bContext *C, wmOperator *UNUSED(op))