Cleanup: remove unused function

This commit is contained in:
Campbell Barton
2017-06-27 18:05:44 +10:00
parent b796ce0f26
commit bb0e8f1c55
2 changed files with 0 additions and 13 deletions

View 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

View 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);