diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-10 10:50:16 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-10 10:50:16 +0400 |
commit | 2dda20a96e6b5f54d195a23d661db23d4596b415 (patch) | |
tree | 3f657336cbc72c462da43a7fc857987db999773b /source/blender/editors/uvedit | |
parent | 3aeb7b3150053db9b10abc6ac3f65fbca020f35e (diff) |
Style Edits only: use TRUE/FALSE rather then 1/0
Diffstat (limited to 'source/blender/editors/uvedit')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_draw.c | 4 | ||||
-rw-r--r-- | source/blender/editors/uvedit/uvedit_unwrap_ops.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/uvedit/uvedit_draw.c b/source/blender/editors/uvedit/uvedit_draw.c index b081941e71b..41fe8ad7275 100644 --- a/source/blender/editors/uvedit/uvedit_draw.c +++ b/source/blender/editors/uvedit/uvedit_draw.c @@ -517,8 +517,8 @@ static void draw_uvs(SpaceImage *sima, Scene *scene, Object *obedit) #endif em= me->edit_btmesh; - activetf= EDBM_get_active_mtexpoly(em, &efa_act, 0); /* will be set to NULL if hidden */ - activef = BM_get_actFace(em->bm, 0); + activetf= EDBM_get_active_mtexpoly(em, &efa_act, FALSE); /* will be set to NULL if hidden */ + activef = BM_get_actFace(em->bm, FALSE); ts= scene->toolsettings; drawfaces= draw_uvs_face_check(scene); diff --git a/source/blender/editors/uvedit/uvedit_unwrap_ops.c b/source/blender/editors/uvedit/uvedit_unwrap_ops.c index 55e71b8ebcf..4d6524653aa 100644 --- a/source/blender/editors/uvedit/uvedit_unwrap_ops.c +++ b/source/blender/editors/uvedit/uvedit_unwrap_ops.c @@ -196,7 +196,7 @@ static ParamHandle *construct_param_handle(Scene *scene, BMEditMesh *em, handle = param_construct_begin(); if(correct_aspect) { - efa = BM_get_actFace(em->bm, 1); + efa = BM_get_actFace(em->bm, TRUE); if(efa) { float aspx, aspy; @@ -1022,7 +1022,7 @@ static void uv_transform_properties(wmOperatorType *ot, int radius) static void correct_uv_aspect(BMEditMesh *em) { - BMFace *efa= BM_get_actFace(em->bm, 1); + BMFace *efa= BM_get_actFace(em->bm, TRUE); BMLoop *l; BMIter iter, liter; MTexPoly *tf; |