disable quality texture spinbox on save dialog when mesh has no texture

This commit is contained in:
alemuntoni 2021-06-16 09:33:30 +02:00
parent 4082d16869
commit 072ff73e20
2 changed files with 3 additions and 1 deletions

View File

@ -67,6 +67,8 @@ SaveMeshAttributesDialog::SaveMeshAttributesDialog(
{
ui->check_iom_wedgtexcoord->setDisabled(true);
ui->check_iom_wedgtexcoord->setChecked(false);
ui->textureQualitySpinBox->setDisabled(true);
ui->textureQualityLabel->setDisabled(true);
}
textureNames.reserve(m->cm.textures.size());

View File

@ -262,7 +262,7 @@
<number>0</number>
</property>
<item>
<widget class="QLabel" name="label">
<widget class="QLabel" name="textureQualityLabel">
<property name="text">
<string>Texture Quality:</string>
</property>