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-07-31 20:03:09 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-07-31 20:03:09 +0400
commitda638d49e3056a319013e4cee22dd322309ea75f (patch)
tree6fb4e648d25fbef6c2cc914e6ed85afa56b77aa7 /source/blender/editors
parent5e3af04b0865432c9c35f75fc3390bd881d538f5 (diff)
Style cleanup
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/armature/pose_select.c3
-rw-r--r--source/blender/editors/mesh/editmesh_tools.c2
2 files changed, 4 insertions, 1 deletions
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);