Cleanup: remove unused collada conversion
This commit is contained in:
parent
26a251202b
commit
23330473e3
@ -157,9 +157,6 @@ bool DocumentImporter::import()
|
||||
|
||||
delete ehandler;
|
||||
|
||||
//XXX No longer needed (geometries are now created as bmesh)
|
||||
//mesh_importer.bmeshConversion();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -808,22 +808,6 @@ bool MeshImporter::is_flat_face(unsigned int *nind, COLLADAFW::MeshVertexData& n
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
void MeshImporter::bmeshConversion()
|
||||
{
|
||||
for (std::map<COLLADAFW::UniqueId, Mesh *>::iterator m = uid_mesh_map.begin();
|
||||
m != uid_mesh_map.end(); ++m)
|
||||
{
|
||||
if ((*m).second) {
|
||||
Mesh *me = (*m).second;
|
||||
BKE_mesh_tessface_clear(me);
|
||||
BKE_mesh_calc_normals(me);
|
||||
/* BKE_mesh_validate(me, true, true); */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Object *MeshImporter::get_object_by_geom_uid(const COLLADAFW::UniqueId& geom_uid)
|
||||
{
|
||||
if (uid_object_map.find(geom_uid) != uid_object_map.end())
|
||||
|
@ -161,8 +161,6 @@ public:
|
||||
|
||||
MeshImporter(UnitConverter *unitconv, ArmatureImporter *arm, Scene *sce);
|
||||
|
||||
void bmeshConversion();
|
||||
|
||||
virtual Object *get_object_by_geom_uid(const COLLADAFW::UniqueId& geom_uid);
|
||||
|
||||
virtual Mesh *get_mesh_by_geom_uid(const COLLADAFW::UniqueId& geom_uid);
|
||||
|
Loading…
x
Reference in New Issue
Block a user