[Bf-blender-cvs] [188857e0f23] blender2.8: Cleanup: style
Campbell Barton
noreply at git.blender.org
Wed Nov 7 02:57:44 CET 2018
Commit: 188857e0f23fbd1cce9cb3d08e75f90f2ff186ca
Author: Campbell Barton
Date: Wed Nov 7 12:57:11 2018 +1100
Branches: blender2.8
https://developer.blender.org/rB188857e0f23fbd1cce9cb3d08e75f90f2ff186ca
Cleanup: style
===================================================================
M source/blender/editors/curve/editcurve_select.c
M source/blender/windowmanager/intern/wm_toolsystem.c
===================================================================
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);
More information about the Bf-blender-cvs
mailing list