Blender Git Loki

Git Commits -> Revision f751d0f

Revision f751d0f by Nicholas Bishop (master)
May 10, 2012, 20:33 (GMT)
Replace hardcoded DMGridData structure with CCGElem/CCGKey.

* Changes to DerivedMesh interface: DMGridData has been removed,
getGridData() now returns an array of CCGElem pointers. Also added
getGridKey() to initialize a CCGKey (implemented only by
CCGDerivedMesh.)

* PBVH: added BLI_pbvh_get_grid_key().

* A lot of code is affected, but mainly is just replacing
DMGridData.co, DMGridData.no, and sizeof(DMGridData) with the
CCG_*_elem functions, removing the reliance on grid elements of
exactly six floats.

Commit Details:

Full Hash: f751d0f6ae7de155343e24e36965956bd7a061e3
SVN Revision: 46515
Parent Commit: 2ca6418
Lines Changed: +477, -358

12 Modified Paths:

/source/blender/blenkernel/BKE_DerivedMesh.h (+4, -6) (Diff)
/source/blender/blenkernel/BKE_subsurf.h (+2, -3) (Diff)
/source/blender/blenkernel/intern/multires.c (+104, -78) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+204, -148) (Diff)
/source/blender/blenlib/BLI_pbvh.h (+15, -10) (Diff)
/source/blender/blenlib/intern/pbvh.c (+32, -23) (Diff)
/source/blender/editors/object/object_bake.c (+17, -14) (Diff)
/source/blender/editors/sculpt_paint/paint_hide.c (+15, -12) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+14, -7) (Diff)
/source/blender/editors/sculpt_paint/sculpt_undo.c (+6, -3) (Diff)
/source/blender/gpu/GPU_buffers.h (+6, -7) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+58, -47) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021