Material: Propagate changes to MaterialTreeWidget even if UUID does not change

This commit is contained in:
marioalexis
2024-11-10 12:21:12 -03:00
parent 2df0f770dd
commit c840a908e1

View File

@@ -324,10 +324,6 @@ QModelIndex MaterialTreeWidget::findInTree(const QString& uuid)
void MaterialTreeWidget::setMaterial(const QString& uuid)
{
if (uuid == m_uuid) {
return;
}
if (uuid.isEmpty()) {
// Nothing is selected
QItemSelectionModel* selectionModel = m_materialTree->selectionModel();