version 1.2.1

spot light without shadows and with texture fix
mesh information
points width and points-only meshes support
This commit is contained in:
2023-05-25 15:50:07 +03:00
parent 85bc739987
commit dfc4c718e8
15 changed files with 180 additions and 56 deletions

View File

@@ -118,6 +118,7 @@ void MaterialsEditor::materialsChanged() {
return;
}
Material * cm = currentMaterial();
ui->comboMaterial->blockSignals(true);
ui->comboMaterial->clear();
if (!view) return;
QVector<Material *> mats = view->scene()->getMaterials();
@@ -128,6 +129,8 @@ void MaterialsEditor::materialsChanged() {
ui->comboMaterial->setItemIcon(i, QIcon(QPixmap::fromImage(view->materialThumbnail(m))));
if (cm == m) ui->comboMaterial->setCurrentIndex(i);
}
ui->comboMaterial->blockSignals(false);
if (currentMaterial() != cm) on_comboMaterial_currentIndexChanged(ui->comboMaterial->currentIndex());
}