forked from bartvdbraak/blender
Cleanup: Remove unused variables.
This commit is contained in:
parent
195df5a034
commit
ea6fba2926
@ -463,8 +463,6 @@ void GeometryExporter::createVertexColorSource(std::string geom_id, Mesh *me)
|
|||||||
if (totlayer_mcol == 0)
|
if (totlayer_mcol == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
int active_vcolor_index = CustomData_get_active_layer_index(&me->ldata, CD_MLOOPCOL);
|
|
||||||
|
|
||||||
int map_index = 0;
|
int map_index = 0;
|
||||||
for (int a = 0; a < totlayer_mcol; a++) {
|
for (int a = 0; a < totlayer_mcol; a++) {
|
||||||
|
|
||||||
|
@ -397,7 +397,6 @@ void MeshImporter::allocate_poly_data(COLLADAFW::Mesh *collada_mesh, Mesh *me)
|
|||||||
COLLADAFW::MeshPrimitiveArray& prim_arr = collada_mesh->getMeshPrimitives();
|
COLLADAFW::MeshPrimitiveArray& prim_arr = collada_mesh->getMeshPrimitives();
|
||||||
int total_poly_count = 0;
|
int total_poly_count = 0;
|
||||||
int total_loop_count = 0;
|
int total_loop_count = 0;
|
||||||
int total_color_count = 0;
|
|
||||||
|
|
||||||
// collect edge_count and face_count from all parts
|
// collect edge_count and face_count from all parts
|
||||||
for (int i = 0; i < prim_arr.getCount(); i++) {
|
for (int i = 0; i < prim_arr.getCount(); i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user