Cleanup: remove unused function
authorCampbell Barton <ideasman42@gmail.com>
Tue, 27 Jun 2017 08:05:44 +0000 (18:05 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 27 Jun 2017 08:05:44 +0000 (18:05 +1000)
source/blender/collada/EffectExporter.cpp
source/blender/collada/EffectExporter.h

index 55dc936939cc9e8be9e3420e74b33210704ae666..2bf0859b0f0ce6d814002cf66f2b1908f730169a 100644 (file)
@@ -196,18 +196,6 @@ void EffectsExporter::writeTextures(COLLADASW::EffectProfile &ep,
        }
 }
 
-void EffectsExporter::exportUVMats(Object *ob)
-{
-       std::vector<int> tex_indices;
-       int active_uv_layer = -1;
-       std::set<Image *> uv_textures;
-       if (ob->type == OB_MESH && ob->totcol && this->export_settings->export_texture_type == BC_TEXTURE_TYPE_UV) {
-               bool active_uv_only = this->export_settings->active_uv_only;
-               Mesh *me = (Mesh *)ob->data;
-               active_uv_layer = CustomData_get_active_layer_index(&me->pdata, CD_MTEXPOLY);
-       }
-}
-
 void EffectsExporter::operator()(Material *ma, Object *ob)
 {
        // create a list of indices to textures of type TEX_IMAGE
index 95e931dc0d187b2f921286f58d8ffbfe262c3fa8..7d45a085777904f62860ed189d21bbe6bcceebce 100644 (file)
@@ -47,7 +47,6 @@ class EffectsExporter: COLLADASW::LibraryEffects
 {
 public:
        EffectsExporter(COLLADASW::StreamWriter *sw, const ExportSettings *export_settings);
-       void exportUVMats(Object *ob);
        void exportEffects(Scene *sce);
        void operator()(Material *ma, Object *ob);