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-01-21 19:48:11 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-01-21 19:53:48 +0400
commit4ae7ae6f2e49287f4565b8bd6bec486f37a826af (patch)
treefad0aeb96fdd585951bb775262dd1f97193830a4 /source/blender/editors/mask
parent70ce11d640e0a85c863db08f269167a75c0eb251 (diff)
Code Cleanup: use bool for return values and correct comments
also remove CDDM_Check, theres no need for it.
Diffstat (limited to 'source/blender/editors/mask')
-rw-r--r--source/blender/editors/mask/mask_intern.h6
-rw-r--r--source/blender/editors/mask/mask_select.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/editors/mask/mask_intern.h b/source/blender/editors/mask/mask_intern.h
index 51705aa5837..09ca2290781 100644
--- a/source/blender/editors/mask/mask_intern.h
+++ b/source/blender/editors/mask/mask_intern.h
@@ -96,9 +96,9 @@ void MASK_OT_select_linked(struct wmOperatorType *ot);
void MASK_OT_select_more(struct wmOperatorType *ot);
void MASK_OT_select_less(struct wmOperatorType *ot);
-int ED_mask_spline_select_check(struct MaskSpline *spline);
-int ED_mask_layer_select_check(struct MaskLayer *masklay);
-int ED_mask_select_check(struct Mask *mask);
+bool ED_mask_spline_select_check(struct MaskSpline *spline);
+bool ED_mask_layer_select_check(struct MaskLayer *masklay);
+bool ED_mask_select_check(struct Mask *mask);
void ED_mask_spline_select_set(struct MaskSpline *spline, const short do_select);
void ED_mask_layer_select_set(struct MaskLayer *masklay, const short do_select);
diff --git a/source/blender/editors/mask/mask_select.c b/source/blender/editors/mask/mask_select.c
index 613168e43a6..497aea27b26 100644
--- a/source/blender/editors/mask/mask_select.c
+++ b/source/blender/editors/mask/mask_select.c
@@ -55,7 +55,7 @@
#include "mask_intern.h" /* own include */
/* 'check' select */
-int ED_mask_spline_select_check(MaskSpline *spline)
+bool ED_mask_spline_select_check(MaskSpline *spline)
{
int i;
@@ -69,7 +69,7 @@ int ED_mask_spline_select_check(MaskSpline *spline)
return FALSE;
}
-int ED_mask_layer_select_check(MaskLayer *masklay)
+bool ED_mask_layer_select_check(MaskLayer *masklay)
{
MaskSpline *spline;
@@ -86,7 +86,7 @@ int ED_mask_layer_select_check(MaskLayer *masklay)
return FALSE;
}
-int ED_mask_select_check(Mask *mask)
+bool ED_mask_select_check(Mask *mask)
{
MaskLayer *masklay;