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-05-08 17:57:07 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-05-08 17:57:07 +0300
commitfa69ce9e3a682426aa0d247f4720571889d5a6c2 (patch)
treeeacdf128815663264471c4c66b226ecf4206c77e /source/blender/editors/manipulator_library
parent5b3559576de5d9896ca2a7f200e1e51ee0fc8af5 (diff)
Cleanup: whitespace, duplicate includes
Diffstat (limited to 'source/blender/editors/manipulator_library')
-rw-r--r--source/blender/editors/manipulator_library/manipulator_types/arrow3d_manipulator.c2
-rw-r--r--source/blender/editors/manipulator_library/manipulator_types/button2d_manipulator.c2
-rw-r--r--source/blender/editors/manipulator_library/manipulator_types/cage2d_manipulator.c2
-rw-r--r--source/blender/editors/manipulator_library/manipulator_types/cage3d_manipulator.c2
-rw-r--r--source/blender/editors/manipulator_library/manipulator_types/dial3d_manipulator.c2
-rw-r--r--source/blender/editors/manipulator_library/manipulator_types/grab3d_manipulator.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/editors/manipulator_library/manipulator_types/arrow3d_manipulator.c b/source/blender/editors/manipulator_library/manipulator_types/arrow3d_manipulator.c
index cc8fd72aa03..409a2c3ca83 100644
--- a/source/blender/editors/manipulator_library/manipulator_types/arrow3d_manipulator.c
+++ b/source/blender/editors/manipulator_library/manipulator_types/arrow3d_manipulator.c
@@ -206,7 +206,7 @@ static void arrow_draw_intern(ArrowManipulator3D *arrow, const bool select, cons
glEnable(GL_BLEND);
- arrow_draw_geom(arrow, select, (const float [4]){0.5f, 0.5f, 0.5f, 0.5f});
+ arrow_draw_geom(arrow, select, (const float[4]){0.5f, 0.5f, 0.5f, 0.5f});
glDisable(GL_BLEND);
gpuPopMatrix();
diff --git a/source/blender/editors/manipulator_library/manipulator_types/button2d_manipulator.c b/source/blender/editors/manipulator_library/manipulator_types/button2d_manipulator.c
index 68bddf36b3c..a6964359595 100644
--- a/source/blender/editors/manipulator_library/manipulator_types/button2d_manipulator.c
+++ b/source/blender/editors/manipulator_library/manipulator_types/button2d_manipulator.c
@@ -193,7 +193,7 @@ static int manipulator_button2d_test_select(
}
}
else {
- copy_v2_v2(point_local, (float [2]){UNPACK2(event->mval)});
+ copy_v2_v2(point_local, (float[2]){UNPACK2(event->mval)});
sub_v2_v2(point_local, mpr->matrix_basis[3]);
mul_v2_fl(point_local, 1.0f / (mpr->scale_basis * UI_DPI_FAC));
}
diff --git a/source/blender/editors/manipulator_library/manipulator_types/cage2d_manipulator.c b/source/blender/editors/manipulator_library/manipulator_types/cage2d_manipulator.c
index 00eff3654b9..784c03be949 100644
--- a/source/blender/editors/manipulator_library/manipulator_types/cage2d_manipulator.c
+++ b/source/blender/editors/manipulator_library/manipulator_types/cage2d_manipulator.c
@@ -999,7 +999,7 @@ static int manipulator_cage2d_modal(
mul_v3_fl(matrix_scale[0], scale[0]);
mul_v3_fl(matrix_scale[1], scale[1]);
- transform_pivot_set_m4(matrix_scale, (const float [3]){pivot[0] * dims[0], pivot[1] * dims[1], 0.0f});
+ transform_pivot_set_m4(matrix_scale, (const float[3]){pivot[0] * dims[0], pivot[1] * dims[1], 0.0f});
mul_m4_m4m4(mpr->matrix_offset, data->orig_matrix_offset, matrix_scale);
}
diff --git a/source/blender/editors/manipulator_library/manipulator_types/cage3d_manipulator.c b/source/blender/editors/manipulator_library/manipulator_types/cage3d_manipulator.c
index 67fb2419931..19f3e2775f4 100644
--- a/source/blender/editors/manipulator_library/manipulator_types/cage3d_manipulator.c
+++ b/source/blender/editors/manipulator_library/manipulator_types/cage3d_manipulator.c
@@ -627,7 +627,7 @@ static int manipulator_cage3d_modal(
transform_pivot_set_m4(
matrix_scale,
- (const float [3]){pivot[0] * dims[0], pivot[1] * dims[1], pivot[2] * dims[2]});
+ (const float[3]){pivot[0] * dims[0], pivot[1] * dims[1], pivot[2] * dims[2]});
mul_m4_m4m4(mpr->matrix_offset, data->orig_matrix_offset, matrix_scale);
}
diff --git a/source/blender/editors/manipulator_library/manipulator_types/dial3d_manipulator.c b/source/blender/editors/manipulator_library/manipulator_types/dial3d_manipulator.c
index 0d2f2c2cc24..a3034597f56 100644
--- a/source/blender/editors/manipulator_library/manipulator_types/dial3d_manipulator.c
+++ b/source/blender/editors/manipulator_library/manipulator_types/dial3d_manipulator.c
@@ -311,7 +311,7 @@ static void dial_draw_intern(
/* draw! */
for (int i = 0; i < 2; i++) {
glDisable(GL_POLYGON_SMOOTH);
- dial_ghostarc_draw(mpr, angle_ofs, angle_delta, (const float [4]){0.8f, 0.8f, 0.8f, 0.4f});
+ dial_ghostarc_draw(mpr, angle_ofs, angle_delta, (const float[4]){0.8f, 0.8f, 0.8f, 0.4f});
glEnable(GL_POLYGON_SMOOTH);
dial_ghostarc_draw_helpline(angle_ofs, co_outer, color); /* starting position */
diff --git a/source/blender/editors/manipulator_library/manipulator_types/grab3d_manipulator.c b/source/blender/editors/manipulator_library/manipulator_types/grab3d_manipulator.c
index 9c6c601b7ae..e2d1979b7a6 100644
--- a/source/blender/editors/manipulator_library/manipulator_types/grab3d_manipulator.c
+++ b/source/blender/editors/manipulator_library/manipulator_types/grab3d_manipulator.c
@@ -202,7 +202,7 @@ static void grab3d_draw_intern(
}
glEnable(GL_BLEND);
- grab_geom_draw(mpr, (const float [4]){0.5f, 0.5f, 0.5f, 0.5f}, select, draw_options);
+ grab_geom_draw(mpr, (const float[4]){0.5f, 0.5f, 0.5f, 0.5f}, select, draw_options);
glDisable(GL_BLEND);
gpuPopMatrix();
}