Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-03-26 00:57:13 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-03-26 00:58:14 +0400
commit8703e2fe7e97ddad4f7f5bae8e5c801efbf9dddb (patch)
tree82396eff2c72924a01518850fbfa829a93bfbc1e /source
parenta99a8a60705216c42368054e9bc78d012084b5fa (diff)
Code cleanup: remove unused flags
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/mesh_evaluate.c6
-rw-r--r--source/blender/makesdna/DNA_meshdata_types.h2
2 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/mesh_evaluate.c b/source/blender/blenkernel/intern/mesh_evaluate.c
index b0a43a218ee..01e3b7bd3d3 100644
--- a/source/blender/blenkernel/intern/mesh_evaluate.c
+++ b/source/blender/blenkernel/intern/mesh_evaluate.c
@@ -1744,6 +1744,9 @@ void BKE_mesh_convert_mfaces_to_mpolys_ex(ID *id, CustomData *fdata, CustomData
int numTex, numCol;
int i, j, totloop, totpoly, *polyindex;
+ /* old flag, clear to allow for reuse */
+#define ME_FGON (1 << 3)
+
/* just in case some of these layers are filled in (can happen with python created meshes) */
CustomData_free(ldata, totloop_i);
CustomData_free(pdata, totpoly_i);
@@ -1832,6 +1835,9 @@ void BKE_mesh_convert_mfaces_to_mpolys_ex(ID *id, CustomData *fdata, CustomData
*r_totloop = totloop;
*r_mpoly = mpoly;
*r_mloop = mloop;
+
+#undef ME_FGON
+
}
/** \} */
diff --git a/source/blender/makesdna/DNA_meshdata_types.h b/source/blender/makesdna/DNA_meshdata_types.h
index c370e677df0..3304980f964 100644
--- a/source/blender/makesdna/DNA_meshdata_types.h
+++ b/source/blender/makesdna/DNA_meshdata_types.h
@@ -303,7 +303,6 @@ enum {
/* mvert->flag */
enum {
/* SELECT = (1 << 0), */
- ME_SPHERETEST = (1 << 1),
ME_VERT_TMP_TAG = (1 << 2),
ME_HIDE = (1 << 4),
ME_VERT_MERGED = (1 << 6),
@@ -315,7 +314,6 @@ enum {
/* SELECT = (1 << 0), */
ME_EDGEDRAW = (1 << 1),
ME_SEAM = (1 << 2),
- ME_FGON = (1 << 3), /* no longer used (now we have ngons), only defined so we can clear it */
/* ME_HIDE = (1 << 4), */
ME_EDGERENDER = (1 << 5),
ME_LOOSEEDGE = (1 << 7),