From e79fc33fda7f61576966b9bd97a6710cae7b8ab1 Mon Sep 17 00:00:00 2001 From: Pablo Dobarro Date: Wed, 9 Oct 2019 00:55:56 +0200 Subject: Fix multires cursor not displaying the active vertex Reviewed By: brecht Differential Revision: https://developer.blender.org/D6026 --- source/blender/editors/sculpt_paint/sculpt.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index cec323fd31f..2d329ff3bca 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -6591,13 +6591,7 @@ bool sculpt_cursor_geometry_info_update(bContext *C, /* Update the active vertex of the SculptSession */ ss->active_vertex_index = srd.active_vertex_index; - - if (!ss->multires) { - copy_v3_v3(out->active_vertex_co, sculpt_active_vertex_co_get(ss)); - } - else { - zero_v3(out->active_vertex_co); - } + copy_v3_v3(out->active_vertex_co, sculpt_active_vertex_co_get(ss)); copy_v3_v3(out->location, ray_normal); mul_v3_fl(out->location, srd.depth); -- cgit v1.2.3