Fix multires cursor not displaying the active vertex
Reviewed By: brecht Differential Revision: https://developer.blender.org/D6026
This commit is contained in:
@@ -6591,13 +6591,7 @@ bool sculpt_cursor_geometry_info_update(bContext *C,
|
|||||||
|
|
||||||
/* Update the active vertex of the SculptSession */
|
/* Update the active vertex of the SculptSession */
|
||||||
ss->active_vertex_index = srd.active_vertex_index;
|
ss->active_vertex_index = srd.active_vertex_index;
|
||||||
|
copy_v3_v3(out->active_vertex_co, sculpt_active_vertex_co_get(ss));
|
||||||
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->location, ray_normal);
|
copy_v3_v3(out->location, ray_normal);
|
||||||
mul_v3_fl(out->location, srd.depth);
|
mul_v3_fl(out->location, srd.depth);
|
||||||
|
Reference in New Issue
Block a user