[LYN-3078] Removed legacy CMaterial and all related/unused classes.
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
|
||||
// Editor
|
||||
#include "Util/PakFile.h"
|
||||
#include "Material/MaterialManager.h"
|
||||
#include "WaitProgress.h"
|
||||
#include "Include/IObjectManager.h"
|
||||
|
||||
@@ -239,14 +238,6 @@ void CObjectArchive::ResolveObjects()
|
||||
|
||||
obj.pObject->CreateGameObject();
|
||||
|
||||
CMaterial* pMaterial = obj.pObject->GetRenderMaterial();
|
||||
CMaterialManager* pManager = GetIEditor()->GetMaterialManager();
|
||||
|
||||
if (pMaterial && pMaterial->GetMatInfo() && pManager)
|
||||
{
|
||||
pManager->OnRequestMaterial(pMaterial->GetMatInfo());
|
||||
}
|
||||
|
||||
// unset the current validator object because the wait Step
|
||||
// might generate unrelated errors
|
||||
m_pCurrentErrorReport->SetCurrentValidatorObject(nullptr);
|
||||
|
||||
Reference in New Issue
Block a user