Cleanup: remove unused function
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user