Merge pull request #17778 from marioalexis84/fem-material_editor

Fem: Use new material editor in materials task panels - fixes #16814
This commit is contained in:
Yorik van Havre
2024-11-11 17:58:49 +01:00
committed by GitHub
4 changed files with 222 additions and 804 deletions

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();