Refactor to Dyntopo node customdata commit.
authorAntony Riakiotakis <kalast@gmail.com>
Thu, 17 Apr 2014 16:02:55 +0000 (19:02 +0300)
committerAntony Riakiotakis <kalast@gmail.com>
Thu, 17 Apr 2014 16:03:08 +0000 (19:03 +0300)
commit38eef8deee4261f0139d29eb81584131a862bf59
treeeabdfc91ed986342d938c1fbcda945e768c5b660
parent0ba3f7647071a7bd7fdf48e0d48a9e7e1ee79a7b
Refactor to Dyntopo node customdata commit.

Don't use a dedicated node layer but use temporary int layer instead.
Works like a charm as long as we are careful resetting the layer when
needed (after pbvh clearing and always after bmesh has been filled in
undo)

Tip by Campbell, thanks!
source/blender/blenkernel/BKE_paint.h
source/blender/blenkernel/BKE_pbvh.h
source/blender/blenkernel/intern/cdderivedmesh.c
source/blender/blenkernel/intern/customdata.c
source/blender/blenkernel/intern/pbvh_bmesh.c
source/blender/blenkernel/intern/pbvh_intern.h
source/blender/editors/sculpt_paint/sculpt.c
source/blender/editors/sculpt_paint/sculpt_intern.h
source/blender/editors/sculpt_paint/sculpt_undo.c
source/blender/makesdna/DNA_customdata_types.h