Fix multires cursor not displaying the active vertex
Reviewed By: brecht Differential Revision: https://developer.blender.org/D6026
This commit is contained in:
parent
06c5520bda
commit
e79fc33fda
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue