[LYN-3078] Removed legacy CMaterial and all related/unused classes.

This commit is contained in:
Chris Galvan
2021-05-03 16:42:11 -05:00
parent 71c5df040f
commit 8b0b3f4d02
116 changed files with 9 additions and 15510 deletions
-10
View File
@@ -20,7 +20,6 @@
// Editor
#include "Util/fastlib.h"
#include "Material/MaterialManager.h" // for CMaterialManager
#include <AzFramework/Terrain/TerrainDataRequestBus.h>
@@ -67,7 +66,6 @@ void CLevelInfo::Validate()
// Validate level.
ValidateObjects();
ValidateMaterials();
if (m_pReport->GetErrorCount() == 0)
{
@@ -186,11 +184,3 @@ void CLevelInfo::ValidateObjects()
}
}
}
//////////////////////////////////////////////////////////////////////////
void CLevelInfo::ValidateMaterials()
{
// Validate all objects
CBaseObjectsArray objects;
GetIEditor()->GetMaterialManager()->Validate();
}