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 15:48:22 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-10-18 16:32:54 +0300
commitcfdd902d2d5d560262d1218861ad1a4469c5259f (patch)
tree946d858bc0bf9468e77bb841d214a2f27ef54bba /source/blender/editors/gizmo_library/gizmo_types/dial3d_gizmo.c
parent3e6b34dedef32dedd56213e555adc6dec147ba44 (diff)
Fix debug build after recent changes.
Diffstat (limited to 'source/blender/editors/gizmo_library/gizmo_types/dial3d_gizmo.c')
-rw-r--r--source/blender/editors/gizmo_library/gizmo_types/dial3d_gizmo.c7
1 files changed, 4 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 c9404721b76..c391ec812c7 100644
--- a/source/blender/editors/gizmo_library/gizmo_types/dial3d_gizmo.c
+++ b/source/blender/editors/gizmo_library/gizmo_types/dial3d_gizmo.c
@@ -334,12 +334,13 @@ static void dial_ghostarc_draw_with_helplines(
}
static void dial_draw_intern(
- wmGizmo *gz,
+ const bContext *C, wmGizmo *gz,
const bool select, const bool highlight, float clip_plane[4])
{
float matrix_final[4][4];
float color[4];
+ (void)C;
BLI_assert(CTX_wm_area(C)->spacetype == SPACE_VIEW3D);
gizmo_color_get(gz, highlight, color);
@@ -403,7 +404,7 @@ static void gizmo_dial_draw_select(const bContext *C, wmGizmo *gz, int select_id
}
GPU_select_load_id(select_id);
- dial_draw_intern(gz, true, false, clip_plane);
+ dial_draw_intern(C, gz, true, false, clip_plane);
if (clip_plane) {
glDisable(GL_CLIP_DISTANCE0);
@@ -428,7 +429,7 @@ static void gizmo_dial_draw(const bContext *C, wmGizmo *gz)
}
GPU_blend(true);
- dial_draw_intern(gz, false, is_highlight, clip_plane);
+ dial_draw_intern(C, gz, false, is_highlight, clip_plane);
GPU_blend(false);
}