Blender Git Commit Log

Git Commits -> Revision 0d8fb14

Revision 0d8fb14 by Joseph Eagar (sculpt-dev)
September 27, 2021, 09:39 (GMT)
Sculpt Dyntopo: Fixed memory leak

* Fixed a particularly nasty memory leak
where the entire process of entering sculpt
mode was being done twice.

* Discovered that range tree is extremely slow.
Got the alternative freelist version up and running,
and replace a usage of GSet with a bitmap. However
the new code is disabled pending further testing.
Literally an order of magnutude improvement.

Commit Details:

Full Hash: 0d8fb1464e0b0d63c3895f1741420a7d8f8276a2
Parent Commit: ef88b4f
Lines Changed: +1122, -266

24 Modified Paths:

/extern/rangetree/intern/range_tree.c (+1, -0) (Diff)
/release/scripts/startup/bl_ui/space_view3d_toolbar.py (+2, -0) (Diff)
/source/blender/blenkernel/BKE_customdata.h (+6, -0) (Diff)
/source/blender/blenkernel/BKE_pbvh.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/customdata.c (+9, -1) (Diff)
/source/blender/blenkernel/intern/dyntopo.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/pbvh_bmesh.c (+182, -70) (Diff)
/source/blender/blenkernel/intern/pbvh_intern.h (+9, -3) (Diff)
/source/blender/blenlib/BLI_mempool.h (+23, -0) (Diff)
/source/blender/blenlib/intern/BLI_mempool.c (+40, -3) (Diff)
/source/blender/bmesh/bmesh_class.h (+1, -1) (Diff)
/source/blender/bmesh/intern/bmesh_construct.c (+29, -9) (Diff)
/source/blender/bmesh/intern/bmesh_core.c (+1, -1) (Diff)
/source/blender/bmesh/intern/bmesh_interp.c (+4, -4) (Diff)
/source/blender/bmesh/intern/bmesh_log.c (+47, -12) (Diff)
/source/blender/bmesh/intern/bmesh_mesh.c (+9, -12) (Diff)
/source/blender/bmesh/intern/bmesh_mesh_convert.c (+57, -8) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+27, -6) (Diff)
/source/blender/editors/sculpt_paint/sculpt.cc (+17, -8) (Diff)
/source/blender/editors/sculpt_paint/sculpt.hh (+596, -100) (Diff)
/source/blender/editors/sculpt_paint/sculpt_dyntopo.c (+51, -19) (Diff)
/source/blender/editors/sculpt_paint/sculpt_undo.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_meshdata_types.h (+6, -6) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021