diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2019-10-09 01:55:56 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2019-10-09 16:47:37 +0300 |
commit | e79fc33fda7f61576966b9bd97a6710cae7b8ab1 (patch) | |
tree | 70fc34ebf50b7ebbcd736459a20365fe24f39221 /source/blender/editors/sculpt_paint/sculpt.c | |
parent | 06c5520bda40c9b5b8240eaf4c8d0a1de7d2ffec (diff) |
Fix multires cursor not displaying the active vertex
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D6026
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 8 |
1 files changed, 1 insertions, 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); |