[Bf-blender-cvs] [ea6fba2] master: Cleanup: Remove unused variables.
Bastien Montagne
noreply at git.blender.org
Thu May 1 16:34:35 CEST 2014
Commit: ea6fba2926bac6328960c16c6caf45edcb2efa4e
Author: Bastien Montagne
Date: Thu May 1 16:32:25 2014 +0200
https://developer.blender.org/rBea6fba2926bac6328960c16c6caf45edcb2efa4e
Cleanup: Remove unused variables.
===================================================================
M source/blender/collada/GeometryExporter.cpp
M source/blender/collada/MeshImporter.cpp
===================================================================
diff --git a/source/blender/collada/GeometryExporter.cpp b/source/blender/collada/GeometryExporter.cpp
index d54fc71..1bf245c 100644
--- a/source/blender/collada/GeometryExporter.cpp
+++ b/source/blender/collada/GeometryExporter.cpp
@@ -463,8 +463,6 @@ void GeometryExporter::createVertexColorSource(std::string geom_id, Mesh *me)
if (totlayer_mcol == 0)
return;
- int active_vcolor_index = CustomData_get_active_layer_index(&me->ldata, CD_MLOOPCOL);
-
int map_index = 0;
for (int a = 0; a < totlayer_mcol; a++) {
diff --git a/source/blender/collada/MeshImporter.cpp b/source/blender/collada/MeshImporter.cpp
index 8840e11..beb2ce4 100644
--- a/source/blender/collada/MeshImporter.cpp
+++ b/source/blender/collada/MeshImporter.cpp
@@ -397,7 +397,6 @@ void MeshImporter::allocate_poly_data(COLLADAFW::Mesh *collada_mesh, Mesh *me)
COLLADAFW::MeshPrimitiveArray& prim_arr = collada_mesh->getMeshPrimitives();
int total_poly_count = 0;
int total_loop_count = 0;
- int total_color_count = 0;
// collect edge_count and face_count from all parts
for (int i = 0; i < prim_arr.getCount(); i++) {
More information about the Bf-blender-cvs
mailing list