[LYN-3078] Removed legacy CMaterial and all related/unused classes.
This commit is contained in:
@@ -22,7 +22,6 @@
|
||||
|
||||
// Editor
|
||||
#include "Settings.h"
|
||||
#include "Material/MaterialManager.h"
|
||||
|
||||
|
||||
|
||||
@@ -112,30 +111,6 @@ void CDisplaySettings::SetDebugFlags(int flags)
|
||||
//SetCVarInt( "sys_enable_budgetmonitoring",(m_debugFlags&DBG_BUDGET_MONITORING) ? 4:0 );
|
||||
|
||||
//SetCVarInt( "Profile",(m_debugFlags&DBG_FRAMEPROFILE) ? 1:0 );
|
||||
|
||||
if (CMaterialManager* pMaterialManager = GetIEditor()->GetMaterialManager())
|
||||
{
|
||||
int mask = pMaterialManager->GetHighlightMask();
|
||||
if (m_debugFlags & DBG_HIGHLIGHT_BREAKABLE)
|
||||
{
|
||||
mask |= eHighlight_Breakable;
|
||||
}
|
||||
else
|
||||
{
|
||||
mask &= ~eHighlight_Breakable;
|
||||
}
|
||||
|
||||
if (m_debugFlags & DBG_HIGHLIGHT_MISSING_SURFACE_TYPE)
|
||||
{
|
||||
mask |= eHighlight_NoSurfaceType;
|
||||
}
|
||||
else
|
||||
{
|
||||
mask &= ~eHighlight_NoSurfaceType;
|
||||
}
|
||||
|
||||
pMaterialManager->SetHighlightMask(mask);
|
||||
}
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user