diff options
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/screen/area.c | 2 | ||||
-rw-r--r-- | source/blender/editors/space_node/node_add.c | 2 | ||||
-rw-r--r-- | source/blender/editors/transform/transform_input.c | 2 | ||||
-rw-r--r-- | source/blender/editors/uvedit/uvedit_unwrap_ops.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c index db57aeb0167..62ddd10ee7c 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -883,7 +883,7 @@ static void region_overlap_fix(ARegion *ar) /* find overlapping previous region on same place */ while (ar1) { if (ar1->overlap) { - if ((ar1->alignment & RGN_SPLIT_PREV)==0) + if ((ar1->alignment & RGN_SPLIT_PREV) == 0) if (BLI_rcti_isect(&ar1->winrct, &ar->winrct, NULL)) break; } diff --git a/source/blender/editors/space_node/node_add.c b/source/blender/editors/space_node/node_add.c index 509e326137b..18ce2c81716 100644 --- a/source/blender/editors/space_node/node_add.c +++ b/source/blender/editors/space_node/node_add.c @@ -207,7 +207,7 @@ static bNodeSocketLink *add_reroute_do_socket_section(bContext *C, bNodeSocketLi } add_v2_v2(insert_point, socklink->point); - ++num_links; + num_links++; } socklink = socklink->next; } diff --git a/source/blender/editors/transform/transform_input.c b/source/blender/editors/transform/transform_input.c index 88ed002af89..69569251d01 100644 --- a/source/blender/editors/transform/transform_input.c +++ b/source/blender/editors/transform/transform_input.c @@ -399,7 +399,7 @@ int handleMouseInput(TransInfo *t, MouseInput *mi, wmEvent *event) mi->precision = 1; redraw = TREDRAW_HARD; } - else if(event->val == KM_RELEASE) { + else if (event->val == KM_RELEASE) { t->modifiers &= ~MOD_PRECISION; mi->precision = 0; redraw = TREDRAW_HARD; diff --git a/source/blender/editors/uvedit/uvedit_unwrap_ops.c b/source/blender/editors/uvedit/uvedit_unwrap_ops.c index 346ea6edf7a..cb54689a3c0 100644 --- a/source/blender/editors/uvedit/uvedit_unwrap_ops.c +++ b/source/blender/editors/uvedit/uvedit_unwrap_ops.c @@ -1235,7 +1235,7 @@ static int unwrap_exec(bContext *C, wmOperator *op) /* double up the check here but better keep ED_unwrap_lscm interface simple and not * pass operator for warning append */ modifier_unwrap_state(obedit, scene, &use_subsurf_final); - if(use_subsurf != use_subsurf_final) + if (use_subsurf != use_subsurf_final) BKE_report(op->reports, RPT_INFO, "Subsurf modifier needs to be first to work with unwrap"); /* execute unwrap */ |