[LYN-3419] First pass of removing unused logic for old viewport interaction model.

This commit is contained in:
Chris Galvan
2021-04-29 11:19:34 -05:00
parent fbdd26bbbc
commit 51a8696f69
15 changed files with 2 additions and 418 deletions
@@ -1668,25 +1668,13 @@ void CMaterialManager::InitMatSender()
}
//////////////////////////////////////////////////////////////////////////
void CMaterialManager::GotoMaterial(CMaterial* pMaterial)
void CMaterialManager::GotoMaterial([[maybe_unused]] CMaterial* pMaterial)
{
if (pMaterial)
{
GetIEditor()->OpenMaterialLibrary(pMaterial);
}
}
//////////////////////////////////////////////////////////////////////////
void CMaterialManager::GotoMaterial(_smart_ptr<IMaterial> pMtl)
void CMaterialManager::GotoMaterial([[maybe_unused]] _smart_ptr<IMaterial> pMtl)
{
if (pMtl)
{
CMaterial* pEdMaterial = FromIMaterial(pMtl);
if (pEdMaterial)
{
GetIEditor()->OpenMaterialLibrary(pEdMaterial);
}
}
}
//////////////////////////////////////////////////////////////////////////