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-10-15 07:08:37 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-10-15 07:12:36 +0300
commit5b86899f21d61197acbc4e25ee54e03688803093 (patch)
treeabb2453c56945f12b5a3a23e534904a1912770a8 /source/blender/editors/gizmo_library
parentf9f67e0239c7fe696872e9c06300b296799faa42 (diff)
Mesh: remove DerivedMesh for face-map drawing
Diffstat (limited to 'source/blender/editors/gizmo_library')
-rw-r--r--source/blender/editors/gizmo_library/gizmo_library_presets.c4
1 files changed, 2 insertions, 2 deletions
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) {