[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [59289] trunk/blender/source/blender/ editors/space_clip/clip_draw.c: Code cleanup: use bool instead of BOOL/int
Sergey Sharybin
sergey.vfx at gmail.com
Mon Aug 19 13:37:42 CEST 2013
Revision: 59289
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=59289
Author: nazgul
Date: 2013-08-19 11:37:42 +0000 (Mon, 19 Aug 2013)
Log Message:
-----------
Code cleanup: use bool instead of BOOL/int
Modified Paths:
--------------
trunk/blender/source/blender/editors/space_clip/clip_draw.c
Modified: trunk/blender/source/blender/editors/space_clip/clip_draw.c
===================================================================
--- trunk/blender/source/blender/editors/space_clip/clip_draw.c 2013-08-19 11:36:29 UTC (rev 59288)
+++ trunk/blender/source/blender/editors/space_clip/clip_draw.c 2013-08-19 11:37:42 UTC (rev 59289)
@@ -242,11 +242,11 @@
glColor4ub(255, 0, 0, 96);
for (i = sfra, a = 0; i <= efra; i++) {
- int ok = FALSE;
+ bool ok = false;
while (a < n) {
if (cameras[a].framenr == i) {
- ok = TRUE;
+ ok = true;
break;
}
else if (cameras[a].framenr > i) {
@@ -287,11 +287,11 @@
MovieClip *clip = ED_space_clip_get_clip(sc);
MovieTracking *tracking = &clip->tracking;
char str[256] = {0};
- int block = FALSE;
+ bool block = false;
if (tracking->stats) {
BLI_strncpy(str, tracking->stats->message, sizeof(str));
- block = TRUE;
+ block = true;
}
else {
if (sc->flag & SC_LOCK_SELECTION)
More information about the Bf-blender-cvs
mailing list