[LYN-3078] Removed legacy CMaterial and all related/unused classes.
This commit is contained in:
@@ -27,7 +27,6 @@
|
||||
|
||||
// Editor
|
||||
#include "ShadersDialog.h"
|
||||
#include "Material/MaterialManager.h"
|
||||
#include "SelectLightAnimationDialog.h"
|
||||
#include "SelectSequenceDialog.h"
|
||||
#include "SelectEAXPresetDlg.h"
|
||||
@@ -88,25 +87,6 @@ void ShaderPropertyEditor::onEditClicked()
|
||||
}
|
||||
|
||||
}
|
||||
void MaterialPropertyEditor::onEditClicked()
|
||||
{
|
||||
}
|
||||
|
||||
void MaterialPropertyEditor::onButton2Clicked()
|
||||
{
|
||||
// Open material browser dialog.
|
||||
IDataBaseItem *pItem = GetIEditor()->GetMaterialManager()->GetSelectedItem();
|
||||
if (pItem)
|
||||
{
|
||||
QString value = pItem->GetName();
|
||||
value.replace('\\', '/');
|
||||
if (value.length() >= MAX_PATH)
|
||||
value = value.left(MAX_PATH);
|
||||
SetValue(value);
|
||||
}
|
||||
else
|
||||
SetValue(QString());
|
||||
}
|
||||
|
||||
void ReverbPresetPropertyEditor::onEditClicked()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user