Blender Git Loki
Git Commits -> Revision ec8d1b4e
February 7, 2021, 18:12 (GMT) |
Sculpt: Location option for lasso trim and depth info This adds a location option to the trim lasso tool to position the shape in the middle of the volume of the object instead of in the surface under the cursor. {F9349724} In order to make this work, the SCULPT_cursor_geometry_info_update can now also get the depth of the geometry from the raycast. The depth is calculated as the second further intersecting triangle in the raycast over the entire mesh. This information will also be used to improve and create new tools. Differential Revision: https://developer.blender.org/D9622 |
Commit Details:
Full Hash: ec8d1b4eaeb855dd79a28ace0e697548b4f56d66
Parent Commit: 6f63417
Lines Changed: +214, -61
14 Modified Paths:
/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_paint.h (+1, -0) (Diff)
/source/blender/blenkernel/BKE_pbvh.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+116, -42) (Diff)
/source/blender/editors/sculpt_paint/paint_cursor.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_mask.c (+43, -4) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+36, -4) (Diff)
/source/blender/editors/sculpt_paint/sculpt_cloth.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_detail.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_face_set.c (+5, -3) (Diff)
/source/blender/editors/sculpt_paint/sculpt_filter_color.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_filter_mesh.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+3, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_mask_expand.c (+2, -2) (Diff)
/source/blender/blenkernel/BKE_paint.h (+1, -0) (Diff)
/source/blender/blenkernel/BKE_pbvh.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+116, -42) (Diff)
/source/blender/editors/sculpt_paint/paint_cursor.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_mask.c (+43, -4) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+36, -4) (Diff)
/source/blender/editors/sculpt_paint/sculpt_cloth.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_detail.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_face_set.c (+5, -3) (Diff)
/source/blender/editors/sculpt_paint/sculpt_filter_color.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_filter_mesh.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+3, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_mask_expand.c (+2, -2) (Diff)