[Bf-blender-cvs] [51c87bbad0b] blender2.8: Cleanup: indentation

Campbell Barton noreply at git.blender.org
Tue Sep 26 15:52:54 CEST 2017


Commit: 51c87bbad0b70f33c96955256c7935f124d00382
Author: Campbell Barton
Date:   Wed Sep 27 00:05:06 2017 +1000
Branches: blender2.8
https://developer.blender.org/rB51c87bbad0b70f33c96955256c7935f124d00382

Cleanup: indentation

===================================================================

M	source/blender/editors/transform/transform_manipulator.c

===================================================================

diff --git a/source/blender/editors/transform/transform_manipulator.c b/source/blender/editors/transform/transform_manipulator.c
index af64c52dc06..f64b0cc2fae 100644
--- a/source/blender/editors/transform/transform_manipulator.c
+++ b/source/blender/editors/transform/transform_manipulator.c
@@ -1027,19 +1027,19 @@ static void manipulator_prepare_mat(
 		case V3D_AROUND_CENTER_BOUNDS:
 		case V3D_AROUND_ACTIVE:
 		{
-				bGPdata *gpd = CTX_data_gpencil_data(C);
-				Object *ob = OBACT_NEW(sl);
+			bGPdata *gpd = CTX_data_gpencil_data(C);
+			Object *ob = OBACT_NEW(sl);
 
-				if (((v3d->around == V3D_AROUND_ACTIVE) && (scene->obedit == NULL)) &&
-				    ((gpd == NULL) || !(gpd->flag & GP_DATA_STROKE_EDITMODE)) &&
-				    (!(ob->mode & OB_MODE_POSE)))
-				{
-					copy_v3_v3(rv3d->twmat[3], ob->obmat[3]);
-				}
-				else {
-					mid_v3_v3v3(rv3d->twmat[3], tbounds->min, tbounds->max);
-				}
-				break;
+			if (((v3d->around == V3D_AROUND_ACTIVE) && (scene->obedit == NULL)) &&
+			    ((gpd == NULL) || !(gpd->flag & GP_DATA_STROKE_EDITMODE)) &&
+			    (!(ob->mode & OB_MODE_POSE)))
+			{
+				copy_v3_v3(rv3d->twmat[3], ob->obmat[3]);
+			}
+			else {
+				mid_v3_v3v3(rv3d->twmat[3], tbounds->min, tbounds->max);
+			}
+			break;
 		}
 		case V3D_AROUND_LOCAL_ORIGINS:
 		case V3D_AROUND_CENTER_MEAN:



More information about the Bf-blender-cvs mailing list