Cleanup: remove unused function.
authorKévin Dietrich <kevin.dietrich@mailoo.org>
Sun, 25 Sep 2016 20:11:09 +0000 (22:11 +0200)
committerKévin Dietrich <kevin.dietrich@mailoo.org>
Sun, 25 Sep 2016 20:11:38 +0000 (22:11 +0200)
source/blender/alembic/intern/abc_mesh.cc

index 8e640b36c2779645b2c83b278ea115829c01afee..84b89d9ab9efa69274adccb7f3dfbda7ddeb7f31 100644 (file)
@@ -146,19 +146,6 @@ static void get_topology(DerivedMesh *dm,
        }
 }
 
-static void get_material_indices(DerivedMesh *dm, std::vector<int32_t> &indices)
-{
-       indices.clear();
-       indices.reserve(dm->getNumTessFaces(dm));
-
-       MPoly *mpolys = dm->getPolyArray(dm);
-
-       for (int i = 1, e = dm->getNumPolys(dm); i < e; ++i) {
-               MPoly *mpoly = &mpolys[i];
-               indices.push_back(mpoly->mat_nr);
-       }
-}
-
 static void get_creases(DerivedMesh *dm,
                         std::vector<int32_t> &indices,
                         std::vector<int32_t> &lengths,