diff --git a/AutomatedTesting/Gem/PythonTests/atom_renderer/atom_utils/material_editor_utils.py b/AutomatedTesting/Gem/PythonTests/atom_renderer/atom_utils/material_editor_utils.py
index 77d1285188..1d72885504 100644
--- a/AutomatedTesting/Gem/PythonTests/atom_renderer/atom_utils/material_editor_utils.py
+++ b/AutomatedTesting/Gem/PythonTests/atom_renderer/atom_utils/material_editor_utils.py
@@ -13,9 +13,9 @@ import os
import sys
import time
import azlmbr.atom
+import azlmbr.atomtools as atomtools
import azlmbr.materialeditor as materialeditor
import azlmbr.bus as bus
-import azlmbr.atomtools.general as general
def is_close(actual, expected, buffer=sys.float_info.min):
@@ -125,11 +125,11 @@ def is_pane_visible(pane_name):
"""
:return: bool
"""
- return materialeditor.MaterialEditorWindowRequestBus(bus.Broadcast, "IsDockWidgetVisible", pane_name)
+ return atomtools.AtomToolsWindowRequestBus(bus.Broadcast, "IsDockWidgetVisible", pane_name)
def set_pane_visibility(pane_name, value):
- materialeditor.MaterialEditorWindowRequestBus(bus.Broadcast, "SetDockWidgetVisible", pane_name, value)
+ atomtools.AtomToolsWindowRequestBus(bus.Broadcast, "SetDockWidgetVisible", pane_name, value)
def select_lighting_config(config_name):
@@ -175,7 +175,7 @@ def wait_for_condition(function, timeout_in_seconds=1.0):
with Timeout(timeout_in_seconds) as t:
while True:
try:
- general.idle_wait_frames(1)
+ atomtools.general.idle_wait_frames(1)
except Exception:
print("WARNING: Couldn't wait for frame")
@@ -269,6 +269,6 @@ class ScreenshotHelper:
def capture_screenshot(file_path):
- return ScreenshotHelper(azlmbr.atomtools.general.idle_wait_frames).capture_screenshot_blocking(
+ return ScreenshotHelper(atomtools.general.idle_wait_frames).capture_screenshot_blocking(
os.path.join(file_path)
)
diff --git a/Gems/Atom/Tools/MaterialEditor/Code/Source/Window/MaterialEditorWindow.cpp b/Gems/Atom/Tools/MaterialEditor/Code/Source/Window/MaterialEditorWindow.cpp
index 52ce217834..ffe5ec408a 100644
--- a/Gems/Atom/Tools/MaterialEditor/Code/Source/Window/MaterialEditorWindow.cpp
+++ b/Gems/Atom/Tools/MaterialEditor/Code/Source/Window/MaterialEditorWindow.cpp
@@ -248,7 +248,7 @@ namespace MaterialEditor
RemoveTabForDocumentId(documentId);
const QString documentPath = GetDocumentPath(documentId);
- const QString status = QString("Material closed: %1").arg(documentPath);
+ const QString status = QString("Document closed: %1").arg(documentPath);
m_statusMessage->setText(QString("%1").arg(status));
}
@@ -416,7 +416,7 @@ namespace MaterialEditor
if (!result)
{
const QString documentPath = GetDocumentPath(documentId);
- const QString status = QString("Failed to perform Undo on document: %1").arg(documentPath);
+ const QString status = QString("Failed to perform undo on document: %1").arg(documentPath);
m_statusMessage->setText(QString("%1").arg(status));
}
}, QKeySequence::Undo);
@@ -428,7 +428,7 @@ namespace MaterialEditor
if (!result)
{
const QString documentPath = GetDocumentPath(documentId);
- const QString status = QString("Failed to perform Redo on document: %1").arg(documentPath);
+ const QString status = QString("Failed to perform redo on document: %1").arg(documentPath);
m_statusMessage->setText(QString("%1").arg(status));
}
}, QKeySequence::Redo);
diff --git a/Gems/Atom/Tools/ShaderManagementConsole/Code/Source/Window/ShaderManagementConsoleWindow.cpp b/Gems/Atom/Tools/ShaderManagementConsole/Code/Source/Window/ShaderManagementConsoleWindow.cpp
index b23e828d5e..34487e0cb5 100644
--- a/Gems/Atom/Tools/ShaderManagementConsole/Code/Source/Window/ShaderManagementConsoleWindow.cpp
+++ b/Gems/Atom/Tools/ShaderManagementConsole/Code/Source/Window/ShaderManagementConsoleWindow.cpp
@@ -302,7 +302,7 @@ namespace ShaderManagementConsole
if (!result)
{
const QString documentPath = GetDocumentPath(documentId);
- const QString status = QString("Failed to perform Undo on document: %1").arg(documentPath);
+ const QString status = QString("Failed to perform undo on document: %1").arg(documentPath);
m_statusMessage->setText(QString("%1").arg(status));
}
}, QKeySequence::Undo);
@@ -314,7 +314,7 @@ namespace ShaderManagementConsole
if (!result)
{
const QString documentPath = GetDocumentPath(documentId);
- const QString status = QString("Failed to perform Redo on document: %1").arg(documentPath);
+ const QString status = QString("Failed to perform redo on document: %1").arg(documentPath);
m_statusMessage->setText(QString("%1").arg(status));
}
}, QKeySequence::Redo);