New implementation of Freestyle edge/face marks
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>
Wed, 13 Mar 2013 06:44:43 +0000 (06:44 +0000)
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>
Wed, 13 Mar 2013 06:44:43 +0000 (06:44 +0000)
commit894c240f9d007271e9d587d3c1b6f961c445b1b8
tree369079e17a0c80a5b39e323a67045ca397849491
parent2d801f2bec3c4de663f33b0f0f198a12f09ef989
New implementation of Freestyle edge/face marks

The previous implementation of Freestyle edge/face marks was refactored
based on suggestions from the latest code review by Campbell.  The new
implementation relies on mesh CustomData to store edge/face marks, instead
of introducing extra flags in the core Mesh and BMesh data structures.
The CustomData-based implementation will allow further additions of new
edge/face attributes because of the independence from Mesh/BMesh.

This revision is work in progress, mainly intended to address the review
comments and ask for further code review in view of the trunk merger in
the upcoming 2.67 release.
19 files changed:
source/blender/blenkernel/intern/customdata.c
source/blender/blenkernel/intern/subsurf_ccg.c
source/blender/blenloader/intern/readfile.c
source/blender/bmesh/bmesh_class.h
source/blender/bmesh/intern/bmesh_construct.c
source/blender/bmesh/intern/bmesh_mesh_conv.c
source/blender/bmesh/operators/bmo_similar.c
source/blender/editors/mesh/editmesh_select.c
source/blender/editors/mesh/editmesh_tools.c
source/blender/editors/space_view3d/drawobject.c
source/blender/freestyle/intern/blender_interface/BlenderFileLoader.cpp
source/blender/makesdna/DNA_customdata_types.h
source/blender/makesdna/DNA_mesh_types.h
source/blender/makesdna/DNA_meshdata_types.h
source/blender/makesrna/intern/rna_mesh.c
source/blender/python/bmesh/bmesh_py_types.c
source/blender/python/bmesh/bmesh_py_types_customdata.c
source/blender/render/intern/include/render_types.h
source/blender/render/intern/source/convertblender.c