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:
authorJoshua Leung <aligorith@gmail.com>2014-04-28 11:20:14 +0400
committerJoshua Leung <aligorith@gmail.com>2014-04-28 11:34:01 +0400
commit1cd4a884233a38cecfe6e2aa42d87842ab008a93 (patch)
tree52d7d0d87841c1179947488d15ccbcf173012f9d /source/blender/editors/space_nla
parent39d2cccd658a8c6c4be3ebf5bfa7f2b16a6f9580 (diff)
Code cleanup: short -> bool
Diffstat (limited to 'source/blender/editors/space_nla')
-rw-r--r--source/blender/editors/space_nla/nla_edit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_nla/nla_edit.c b/source/blender/editors/space_nla/nla_edit.c
index da619ed79bd..10fc8e507af 100644
--- a/source/blender/editors/space_nla/nla_edit.c
+++ b/source/blender/editors/space_nla/nla_edit.c
@@ -257,7 +257,7 @@ void NLA_OT_tweakmode_exit(wmOperatorType *ot)
/* *************************** Calculate Range ************************** */
/* Get the min/max strip extents */
-static void get_nlastrip_extents(bAnimContext *ac, float *min, float *max, const short onlySel)
+static void get_nlastrip_extents(bAnimContext *ac, float *min, float *max, const bool onlySel)
{
ListBase anim_data = {NULL, NULL};
bAnimListElem *ale;
@@ -280,7 +280,7 @@ static void get_nlastrip_extents(bAnimContext *ac, float *min, float *max, const
for (strip = nlt->strips.first; strip; strip = strip->next) {
/* only consider selected strips? */
- if ((onlySel == 0) || (strip->flag & NLASTRIP_FLAG_SELECT)) {
+ if ((onlySel == false) || (strip->flag & NLASTRIP_FLAG_SELECT)) {
/* extend range if appropriate */
*min = min_ff(*min, strip->start);
*max = max_ff(*max, strip->end);
@@ -306,7 +306,7 @@ static void get_nlastrip_extents(bAnimContext *ac, float *min, float *max, const
/* ****************** View-All Operator ****************** */
-static int nlaedit_viewall(bContext *C, const short onlySel)
+static int nlaedit_viewall(bContext *C, const bool onlySel)
{
bAnimContext ac;
View2D *v2d;