Blender Git Loki
Git Commits -> Revision 95e0bea
Revision 95e0bea by Joseph Eagar (sculpt-dev) October 14, 2021, 01:30 (GMT) |
Sculpt: More BMLog fixes and cleanups This commit rewrites much of the core BMLog serialization logic. BMLog originally did not support mesh elements changing their internal topology, which created ID conflicts in the log. Thus it was impossible to use much of the BMesh API. Instead DynTopo had its own implementations of BM_edge_collapse and triangle edge splitting that worked by recreating local mesh topology from scratch. I got rid of these functions a while ago and tried to add support for elements changing topology to BMLog. Unfortunatey I struggled to work out all of the edge cases, and it turned out easier to refactor the core serializer methods wholesale. |
Commit Details:
Full Hash: 95e0bea7bfdf33e3e5edd9d32f85c93431ac8bde
Parent Commit: b6442c3
Lines Changed: +684, -537
5 Modified Paths:
/source/blender/blenkernel/intern/dyntopo.c (+131, -130) (Diff)
/source/blender/blenkernel/intern/pbvh_bmesh.c (+2, -0) (Diff)
/source/blender/bmesh/intern/bmesh_log.c (+531, -403) (Diff)
/source/blender/bmesh/intern/bmesh_log.h (+3, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt_undo.c (+17, -4) (Diff)
/source/blender/blenkernel/intern/pbvh_bmesh.c (+2, -0) (Diff)
/source/blender/bmesh/intern/bmesh_log.c (+531, -403) (Diff)
/source/blender/bmesh/intern/bmesh_log.h (+3, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt_undo.c (+17, -4) (Diff)