From da638d49e3056a319013e4cee22dd322309ea75f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 1 Aug 2014 02:03:09 +1000 Subject: Style cleanup --- source/blender/editors/armature/pose_select.c | 3 ++- source/blender/editors/mesh/editmesh_tools.c | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'source/blender/editors') diff --git a/source/blender/editors/armature/pose_select.c b/source/blender/editors/armature/pose_select.c index 61386615934..76284ba44de 100644 --- a/source/blender/editors/armature/pose_select.c +++ b/source/blender/editors/armature/pose_select.c @@ -70,7 +70,8 @@ /* ***************** Pose Select Utilities ********************* */ /* Note: SEL_TOGGLE is assumed to have already been handled! */ -static void pose_do_bone_select(bPoseChannel *pchan, const int select_mode) { +static void pose_do_bone_select(bPoseChannel *pchan, const int select_mode) +{ /* select pchan only if selectable, but deselect works always */ switch (select_mode) { case SEL_SELECT: diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c index 3609abf6cb5..92bbd9482e2 100644 --- a/source/blender/editors/mesh/editmesh_tools.c +++ b/source/blender/editors/mesh/editmesh_tools.c @@ -3496,7 +3496,9 @@ static int edbm_dissolve_verts_exec(bContext *C, wmOperator *op) if (!EDBM_op_callf(em, op, "dissolve_verts verts=%hv use_face_split=%b use_boundary_tear=%b", BM_ELEM_SELECT, use_face_split, use_boundary_tear)) + { return OPERATOR_CANCELLED; + } EDBM_update_generic(em, true, true); -- cgit v1.2.3