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:
authorPablo Dobarro <pablodp606@gmail.com>2019-10-09 01:55:56 +0300
committerPablo Dobarro <pablodp606@gmail.com>2019-10-09 16:47:37 +0300
commite79fc33fda7f61576966b9bd97a6710cae7b8ab1 (patch)
tree70fc34ebf50b7ebbcd736459a20365fe24f39221 /source/blender/editors/sculpt_paint/sculpt.c
parent06c5520bda40c9b5b8240eaf4c8d0a1de7d2ffec (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.c8
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);