Blender Git Loki

Git Commits -> Revision 2c23650

June 16, 2010, 04:55 (GMT)
Brought back hiding parts of the mesh in sculpt mode in proper 2.5-style. (No more ugly reordering of mesh elements leading to mesh corruption!)

UI changes:
* Ctrl+Alt brings up a border select you can hide a rectangular area of the mesh with.
* Ctrl+Shift is the same, but hides the area outside of the rectangle.
* Clicking without dragging while holding either Ctrl+Alt or Ctrl+Shift will re-show hidden areas.
* Added these three operations to the Sculpt menu.

Hiding areas is done by rebuilding the PBVH and excluding primitives based on whether their AABB intersects the user-selected areas. Note that for multires meshes, the primitives are grids, not faces, so if you are bad and use multires on a plain cube, there are only 6*4 grids that can be hidden.

TODO:
* Applying multires temporarily shows hidden areas. Once you start sculpting they hide themselves again. Same for turning off display of multires modifier.
* Going to multires level zero also shows hidden areas improperly.

Commit Details:

Full Hash: 2c23650ce7cb0b40925f3a7ad0af91b53e59f8ba
SVN Revision: 29483
Parent Commit: 51d0d0b
Lines Changed: +283, -96

10 Modified Paths:

/release/scripts/ui/space_view3d.py (+5, -0) (Diff)
/source/blender/blenkernel/BKE_paint.h (+3, -0) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/object.c (+3, -0) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+4, -2) (Diff)
/source/blender/blenlib/BLI_pbvh.h (+11, -2) (Diff)
/source/blender/blenlib/intern/pbvh.c (+152, -91) (Diff)
/source/blender/editors/sculpt_paint/paint_ops.c (+6, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+96, -0) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021