From a3e7440cfdd2f307e5c57922fd22e8770f0b8390 Mon Sep 17 00:00:00 2001 From: Pablo Dobarro Date: Mon, 9 Sep 2019 22:23:54 +0200 Subject: Sculpt: Grab Active Vertex and Dynamic Mesh Preview Grab active vertex snaps the maximum strength of the grab brush to the highlighted active vertex, making it easier to manipulate low poly models or meshes with subdivision surfaces. Dynamic Mesh Preview generates a list of connected vertices from the active vertex and draws them from the cursor code. This helps to visualize the real geometry the user is manipulating from sculpt mode when there are active modifiers. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5646 --- source/blender/blenkernel/BKE_paint.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/blenkernel/BKE_paint.h') diff --git a/source/blender/blenkernel/BKE_paint.h b/source/blender/blenkernel/BKE_paint.h index 10c3f42bba7..ed4bcee3541 100644 --- a/source/blender/blenkernel/BKE_paint.h +++ b/source/blender/blenkernel/BKE_paint.h @@ -269,6 +269,10 @@ typedef struct SculptSession { float pivot_pos[3]; + /* Dynamic mesh preview */ + int *preview_vert_index_list; + int preview_vert_index_count; + union { struct { struct SculptVertexPaintGeomMap gmap; -- cgit v1.2.3