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>2018-11-07 04:57:11 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-07 04:57:24 +0300
commit188857e0f23fbd1cce9cb3d08e75f90f2ff186ca (patch)
treead9a4f9aade5b392bbd3c75930f69c2216775861 /source/blender/windowmanager
parent0a893c0901d6fba0501ea4b341c5b9c0747be2af (diff)
Cleanup: style
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_toolsystem.c10
1 files changed, 5 insertions, 5 deletions
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);