Blender Git Loki

Git Commits -> Revision b8fb46a

Revision b8fb46a by Joseph Eagar (sculpt-dev)
October 13, 2021, 09:12 (GMT)
Sculpt: BMLog stuff

* BMLog now has a more fine-grained logging
facility to track the call chains
that produce specific log elements.
* Wrote a new function in bmesh_core.c to
dump local geometry around an element to
stdout in .obj format.
* Edge collapse now properly handles the
fact that bmesh handles sharp flags
inversely, i.e. edges *not* marked
with BM_ELEM_SMOOTH are sharp.

* Wrote a new BMLog API that handles elements
undergoing topological changes a bit better.
- BM_log_[edge/face]_[pre/post]
- Idea is to call the _pre before calling
collapse or split edge, then _post afterwards.
- No longer need to assign new IDs
in certain cases to avoid confusing BMLog.
- Other parts of BMLog may now be redundant;
need to check.

* Deleted some #if 0'd code
* Fixed a bug in BLI_smallhash_ensure_p, it didn't properly
set up state for when smallhash is used as a very simple
set.

Commit Details:

Full Hash: b8fb46ab20ca705427f78acf9844a952012fe5a2
Parent Commit: ffa62ec
Lines Changed: +873, -860

5 Modified Paths:

/source/blender/blenkernel/intern/dyntopo.c (+57, -760) (Diff)
/source/blender/blenlib/intern/smallhash.c (+5, -2) (Diff)
/source/blender/bmesh/intern/bmesh_core.c (+437, -37) (Diff)
/source/blender/bmesh/intern/bmesh_log.c (+348, -61) (Diff)
/source/blender/bmesh/intern/bmesh_log.h (+26, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021