diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-11-07 04:57:11 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-11-07 04:57:24 +0300 |
commit | 188857e0f23fbd1cce9cb3d08e75f90f2ff186ca (patch) | |
tree | ad9a4f9aade5b392bbd3c75930f69c2216775861 /source/blender | |
parent | 0a893c0901d6fba0501ea4b341c5b9c0747be2af (diff) |
Cleanup: style
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/curve/editcurve_select.c | 2 | ||||
-rw-r--r-- | source/blender/windowmanager/intern/wm_toolsystem.c | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/editors/curve/editcurve_select.c b/source/blender/editors/curve/editcurve_select.c index 40ae40d3d13..8495ef24536 100644 --- a/source/blender/editors/curve/editcurve_select.c +++ b/source/blender/editors/curve/editcurve_select.c @@ -1409,7 +1409,7 @@ static void curve_nurb_selected_type_get(Object *ob, Nurb *nu, const int type, K else { BPoint *bp; int i; - int tree_index=0; + int tree_index = 0; for (i = nu->pntsu * nu->pntsv, bp = nu->bp; i--; bp++) { if (!bp->hide && bp->f1 & SELECT) { diff --git a/source/blender/windowmanager/intern/wm_toolsystem.c b/source/blender/windowmanager/intern/wm_toolsystem.c index 3e95bdc49ea..565d52c230b 100644 --- a/source/blender/windowmanager/intern/wm_toolsystem.c +++ b/source/blender/windowmanager/intern/wm_toolsystem.c @@ -432,8 +432,8 @@ void WM_toolsystem_ref_sync_from_context( /* pass */ } else if ((tref->space_type == SPACE_VIEW3D) && - (tref->mode == CTX_MODE_PARTICLE) && - (ob->mode & OB_MODE_PARTICLE_EDIT)) + (tref->mode == CTX_MODE_PARTICLE) && + (ob->mode & OB_MODE_PARTICLE_EDIT)) { const EnumPropertyItem *items = rna_enum_particle_edit_hair_brush_items; const int i = RNA_enum_from_value(items, ts->particle.brushtype); @@ -444,9 +444,9 @@ void WM_toolsystem_ref_sync_from_context( } } else if ((tref->space_type == SPACE_IMAGE) && - (tref->mode == SI_MODE_UV) && - (ob->mode & - OB_MODE_EDIT)) + (tref->mode == SI_MODE_UV) && + (ob->mode & + OB_MODE_EDIT)) { const EnumPropertyItem *items = rna_enum_uv_sculpt_tool_items; const int i = RNA_enum_from_value(items, ts->uv_sculpt_tool); |