[LYN-3078] Removed legacy CMaterial and all related/unused classes.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user