remove CD_POLYINDEX customdata layer:

reported as [#29376] BMESH_TODO: remove tessface CD_ORIGINDEX layer

for a single mesh there could be 3 origindex mappings stored, one on the polygons and 2 on the tessfaces.
(CD_POLYINDEX and CD_ORIGINDEX).

as Andrew suggests, now tessfaces (which are really a cache of polygons), using origindex to point to polygons on
the same derived mesh, and polygons only store the original index values.
This commit is contained in:
Campbell Barton
2012-10-30 19:20:17 +00:00
parent 6bd18e3575
commit 00acdb6292
26 changed files with 307 additions and 168 deletions

View File

@@ -52,7 +52,10 @@
#include "DNA_material_types.h"
#include "DNA_scene_types.h"
#include "BKE_DerivedMesh.h"
extern "C"{
#include "BLI_utildefines.h"
#include "BKE_DerivedMesh.h"
}
#ifndef M_PI
#define M_PI 3.14159265358979323846