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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-10-18 13:19:06 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-10-18 13:19:06 +0300
commit5869bf5002f6bb370ef62da62d8cf7d56178b663 (patch)
treedbe3de77a0e3ab1fa8ddbc89ea7467aec8481cc4 /source/blender/editors/gizmo_library
parentb3814d8645a1f232478210d8a5ae00c101d8b045 (diff)
Cleanup: fix compiler warnings.
Diffstat (limited to 'source/blender/editors/gizmo_library')
-rw-r--r--source/blender/editors/gizmo_library/gizmo_types/dial3d_gizmo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/gizmo_library/gizmo_types/dial3d_gizmo.c b/source/blender/editors/gizmo_library/gizmo_types/dial3d_gizmo.c
index 51a789fee66..c9404721b76 100644
--- a/source/blender/editors/gizmo_library/gizmo_types/dial3d_gizmo.c
+++ b/source/blender/editors/gizmo_library/gizmo_types/dial3d_gizmo.c
@@ -334,7 +334,7 @@ static void dial_ghostarc_draw_with_helplines(
}
static void dial_draw_intern(
- const bContext *C, wmGizmo *gz,
+ wmGizmo *gz,
const bool select, const bool highlight, float clip_plane[4])
{
float matrix_final[4][4];
@@ -403,7 +403,7 @@ static void gizmo_dial_draw_select(const bContext *C, wmGizmo *gz, int select_id
}
GPU_select_load_id(select_id);
- dial_draw_intern(C, gz, true, false, clip_plane);
+ dial_draw_intern(gz, true, false, clip_plane);
if (clip_plane) {
glDisable(GL_CLIP_DISTANCE0);
@@ -428,7 +428,7 @@ static void gizmo_dial_draw(const bContext *C, wmGizmo *gz)
}
GPU_blend(true);
- dial_draw_intern(C, gz, false, is_highlight, clip_plane);
+ dial_draw_intern(gz, false, is_highlight, clip_plane);
GPU_blend(false);
}