From 5b86899f21d61197acbc4e25ee54e03688803093 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 15 Oct 2018 15:08:37 +1100 Subject: Mesh: remove DerivedMesh for face-map drawing --- source/blender/editors/gizmo_library/gizmo_library_presets.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/gizmo_library') diff --git a/source/blender/editors/gizmo_library/gizmo_library_presets.c b/source/blender/editors/gizmo_library/gizmo_library_presets.c index bd047ba1da4..4eeddb92664 100644 --- a/source/blender/editors/gizmo_library/gizmo_library_presets.c +++ b/source/blender/editors/gizmo_library/gizmo_library_presets.c @@ -127,7 +127,7 @@ void ED_gizmo_draw_preset_circle( } void ED_gizmo_draw_preset_facemap( - const bContext *C, const struct wmGizmo *gz, struct Scene *scene, Object *ob, const int facemap, int select_id) + const bContext *C, const struct wmGizmo *gz, Object *ob, const int facemap, int select_id) { const bool is_select = (select_id != -1); const bool is_highlight = is_select && (gz->state & WM_GIZMO_STATE_HIGHLIGHT) != 0; @@ -141,7 +141,7 @@ void ED_gizmo_draw_preset_facemap( GPU_matrix_push(); GPU_matrix_mul(ob->obmat); - ED_draw_object_facemap(CTX_data_depsgraph(C), scene, ob, color, facemap); + ED_draw_object_facemap(CTX_data_depsgraph(C), ob, color, facemap); GPU_matrix_pop(); if (is_select) { -- cgit v1.2.3