remove unused code & variables.
This commit is contained in:
@@ -198,7 +198,7 @@ static DerivedMesh * splitEdges(ExplodeModifierData *emd, DerivedMesh *dm){
|
||||
int *facesplit = MEM_callocN(sizeof(int)*totface,"explode_facesplit");
|
||||
int *vertpa = MEM_callocN(sizeof(int)*totvert,"explode_vertpa2");
|
||||
int *facepa = emd->facepa;
|
||||
int *fs, totesplit=0,totfsplit=0,totin=0,curdupvert=0,curdupface=0,curdupin=0;
|
||||
int *fs, totesplit=0,totfsplit=0,totin=0,curdupface=0,curdupin=0;
|
||||
int i,j,v1,v2,v3,v4,esplit;
|
||||
|
||||
edgehash= BLI_edgehash_new();
|
||||
@@ -314,7 +314,6 @@ static DerivedMesh * splitEdges(ExplodeModifierData *emd, DerivedMesh *dm){
|
||||
emd->facepa=facepa;
|
||||
|
||||
/* create new verts */
|
||||
curdupvert=totvert;
|
||||
ehi= BLI_edgehashIterator_new(edgehash);
|
||||
for(; !BLI_edgehashIterator_isDone(ehi); BLI_edgehashIterator_step(ehi)) {
|
||||
BLI_edgehashIterator_getKey(ehi, &i, &j);
|
||||
@@ -671,7 +670,8 @@ static DerivedMesh * explodeMesh(ExplodeModifierData *emd,
|
||||
EdgeHashIterator *ehi;
|
||||
float *vertco=0, imat[4][4];
|
||||
float loc0[3], nor[3];
|
||||
float timestep, cfra;
|
||||
float cfra;
|
||||
/* float timestep; */
|
||||
int *facepa=emd->facepa;
|
||||
int totdup=0,totvert=0,totface=0,totpart=0;
|
||||
int i, j, v, mindex=0;
|
||||
@@ -686,7 +686,7 @@ static DerivedMesh * explodeMesh(ExplodeModifierData *emd,
|
||||
sim.psys= psmd->psys;
|
||||
sim.psmd= psmd;
|
||||
|
||||
timestep= psys_get_timestep(&sim);
|
||||
/* timestep= psys_get_timestep(&sim); */
|
||||
|
||||
//if(part->flag & PART_GLOB_TIME)
|
||||
cfra= BKE_curframe(scene);
|
||||
|
||||
Reference in New Issue
Block a user