Revert "Materials: Check if m_uuid is empty before adding to recents"
This reverts commit dc03238349.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user