diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-04-01 04:34:00 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-04-01 08:22:28 +0400 |
commit | 617557b08ea94e2b65a1697ddf0b79651204d92b (patch) | |
tree | 50b24bab075b42fa20456140c9a9681cfb01325b /source/blender/editors/space_clip/clip_editor.c | |
parent | 2c00ecc738c04dc5dc22d4a6b81a1e937526ba6d (diff) |
Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define
Diffstat (limited to 'source/blender/editors/space_clip/clip_editor.c')
-rw-r--r-- | source/blender/editors/space_clip/clip_editor.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/editors/space_clip/clip_editor.c b/source/blender/editors/space_clip/clip_editor.c index 42b4051d7ff..f3938c2aebe 100644 --- a/source/blender/editors/space_clip/clip_editor.c +++ b/source/blender/editors/space_clip/clip_editor.c @@ -83,9 +83,9 @@ int ED_space_clip_poll(bContext *C) SpaceClip *sc = CTX_wm_space_clip(C); if (sc && sc->clip) - return TRUE; + return true; - return FALSE; + return false; } int ED_space_clip_view_clip_poll(bContext *C) @@ -96,7 +96,7 @@ int ED_space_clip_view_clip_poll(bContext *C) return sc->view == SC_VIEW_CLIP; } - return FALSE; + return false; } int ED_space_clip_tracking_poll(bContext *C) @@ -106,7 +106,7 @@ int ED_space_clip_tracking_poll(bContext *C) if (sc && sc->clip) return ED_space_clip_check_show_trackedit(sc); - return FALSE; + return false; } int ED_space_clip_maskedit_poll(bContext *C) @@ -117,7 +117,7 @@ int ED_space_clip_maskedit_poll(bContext *C) return ED_space_clip_check_show_maskedit(sc); } - return FALSE; + return false; } int ED_space_clip_maskedit_mask_poll(bContext *C) @@ -132,7 +132,7 @@ int ED_space_clip_maskedit_mask_poll(bContext *C) } } - return FALSE; + return false; } /* ******** common editing functions ******** */ @@ -316,7 +316,7 @@ void ED_clip_update_frame(const Main *mainp, int cfra) if (sa->spacetype == SPACE_CLIP) { SpaceClip *sc = sa->spacedata.first; - sc->scopes.ok = FALSE; + sc->scopes.ok = false; BKE_movieclip_user_set_frame(&sc->user, cfra); } |