From cf0d3af78e55d3d4f18292d0f856e4dcc7744865 Mon Sep 17 00:00:00 2001 From: guthadam Date: Mon, 10 May 2021 18:02:26 -0500 Subject: [PATCH] ATOM-15128 replacing material editor icon --- .../Source/Window/Icons/materialeditor.svg | 20 +++++++++++++++ .../Code/Source/Window/MaterialEditor.qrc | 1 + .../Source/Window/MaterialEditorWindow.cpp | 2 +- Gems/Atom/Tools/MaterialEditor/preview.svg | 25 +++++++++++++------ 4 files changed, 40 insertions(+), 8 deletions(-) create mode 100644 Gems/Atom/Tools/MaterialEditor/Code/Source/Window/Icons/materialeditor.svg diff --git a/Gems/Atom/Tools/MaterialEditor/Code/Source/Window/Icons/materialeditor.svg b/Gems/Atom/Tools/MaterialEditor/Code/Source/Window/Icons/materialeditor.svg new file mode 100644 index 0000000000..31b0b304a1 --- /dev/null +++ b/Gems/Atom/Tools/MaterialEditor/Code/Source/Window/Icons/materialeditor.svg @@ -0,0 +1,20 @@ + + + Icons / Application Icons / Material Editor + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Gems/Atom/Tools/MaterialEditor/Code/Source/Window/MaterialEditor.qrc b/Gems/Atom/Tools/MaterialEditor/Code/Source/Window/MaterialEditor.qrc index 4f93770096..cde48079ac 100644 --- a/Gems/Atom/Tools/MaterialEditor/Code/Source/Window/MaterialEditor.qrc +++ b/Gems/Atom/Tools/MaterialEditor/Code/Source/Window/MaterialEditor.qrc @@ -1,6 +1,7 @@ MaterialEditor.qss + Icons/materialeditor.svg Icons/material.svg Icons/materialtype.svg Icons/mesh.svg diff --git a/Gems/Atom/Tools/MaterialEditor/Code/Source/Window/MaterialEditorWindow.cpp b/Gems/Atom/Tools/MaterialEditor/Code/Source/Window/MaterialEditorWindow.cpp index 6e47de189c..d87d3b81e3 100644 --- a/Gems/Atom/Tools/MaterialEditor/Code/Source/Window/MaterialEditorWindow.cpp +++ b/Gems/Atom/Tools/MaterialEditor/Code/Source/Window/MaterialEditorWindow.cpp @@ -58,7 +58,7 @@ namespace MaterialEditor { AzQtComponents::StyleManager::setStyleSheet(this, QStringLiteral(":/MaterialEditor.qss")); - QApplication::setWindowIcon(QIcon(":/Icons/materialtype.svg")); + QApplication::setWindowIcon(QIcon(":/Icons/materialeditor.svg")); AZ::Name apiName = AZ::RHI::Factory::Get().GetName(); if (!apiName.IsEmpty()) diff --git a/Gems/Atom/Tools/MaterialEditor/preview.svg b/Gems/Atom/Tools/MaterialEditor/preview.svg index 56c1ead3c1..31b0b304a1 100644 --- a/Gems/Atom/Tools/MaterialEditor/preview.svg +++ b/Gems/Atom/Tools/MaterialEditor/preview.svg @@ -1,9 +1,20 @@ - - Icons / Project Configurator / Gems / Material Editor - - - - + + Icons / Application Icons / Material Editor + + + + + + + + + + + + + + + - + \ No newline at end of file