[Bf-blender-cvs] [a64819b] master: Cleanup: unused vars
Campbell Barton
noreply at git.blender.org
Thu Aug 20 01:26:34 CEST 2015
Commit: a64819b7355c27cf043f026cc6d168a55cc203fa
Author: Campbell Barton
Date: Thu Aug 20 09:19:50 2015 +1000
Branches: master
https://developer.blender.org/rBa64819b7355c27cf043f026cc6d168a55cc203fa
Cleanup: unused vars
===================================================================
M source/blender/blenkernel/intern/subsurf_ccg.c
===================================================================
diff --git a/source/blender/blenkernel/intern/subsurf_ccg.c b/source/blender/blenkernel/intern/subsurf_ccg.c
index e1b18d5..0743087 100644
--- a/source/blender/blenkernel/intern/subsurf_ccg.c
+++ b/source/blender/blenkernel/intern/subsurf_ccg.c
@@ -4195,19 +4195,12 @@ static void set_ccgdm_all_geometry(CCGDerivedMesh *ccgdm,
int gridSize;
int gridFaces, gridCuts;
int gridSideEdges;
- int numTex, numCol;
- int hasPCol, hasOrigSpace;
int gridInternalEdges;
WeightTable wtable = {NULL};
MEdge *medge = NULL;
MPoly *mpoly = NULL;
bool has_edge_cd;
- numTex = CustomData_number_of_layers(&ccgdm->dm.loopData, CD_MLOOPUV);
- numCol = CustomData_number_of_layers(&ccgdm->dm.loopData, CD_MLOOPCOL);
- hasPCol = CustomData_has_layer(&ccgdm->dm.loopData, CD_PREVIEW_MLOOPCOL);
- hasOrigSpace = CustomData_has_layer(&ccgdm->dm.loopData, CD_ORIGSPACE_MLOOP);
-
edgeSize = ccgSubSurf_getEdgeSize(ss);
gridSize = ccgSubSurf_getGridSize(ss);
gridFaces = gridSize - 1;
More information about the Bf-blender-cvs
mailing list