diff --git a/code/AssetLib/Obj/ObjFileData.h b/code/AssetLib/Obj/ObjFileData.h index f8b68d45f..3382c28e4 100644 --- a/code/AssetLib/Obj/ObjFileData.h +++ b/code/AssetLib/Obj/ObjFileData.h @@ -254,10 +254,10 @@ struct Mesh { /// Destructor ~Mesh() { - /* for (std::vector::iterator it = m_Faces.begin(); + for (std::vector::iterator it = m_Faces.begin(); it != m_Faces.end(); ++it) { delete *it; - }*/ + } } };