Revert "Materials: Check if m_uuid is empty before adding to recents"

This reverts commit dc03238349.
This commit is contained in:
Johannes Thyssen Tishman
2025-08-14 16:02:02 +02:00
parent b3e11ecd11
commit 39f4bdf455

View File

@@ -474,9 +474,6 @@ void MaterialTreeWidget::saveRecents()
void MaterialTreeWidget::addRecent(const QString& uuid)
{
if (uuid.isEmpty()) {
return;
}
// Ensure it is a material. New, unsaved materials will not be
try {
auto material = Materials::MaterialManager::getManager().getMaterial(uuid);