mirror of https://github.com/AxioDL/metaforce.git
Require Blender 2.81+
This commit is contained in:
parent
28221d6d33
commit
9be51c0483
|
@ -284,7 +284,7 @@ void MainWindow::onBinaryDownloaded(QuaZip& file) {
|
|||
m_ui->downloadErrorLabel->setText(tr("Download successful - Press 'Extract' to continue."), true);
|
||||
}
|
||||
if (!err && !m_ui->sysReqTable->isBlenderVersionOk()) {
|
||||
m_ui->downloadErrorLabel->setText(tr("Blender 2.80+ must be installed. Please download via Steam or blender.org."));
|
||||
m_ui->downloadErrorLabel->setText(tr("Blender 2.81+ must be installed. Please download via Steam or blender.org."));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -327,7 +327,7 @@ void MainWindow::enableOperations() {
|
|||
}
|
||||
|
||||
if (!m_ui->sysReqTable->isBlenderVersionOk()) {
|
||||
insertContinueNote(tr("Blender 2.80+ must be installed. Please download via Steam or blender.org."));
|
||||
insertContinueNote(tr("Blender 2.81+ must be installed. Please download via Steam or blender.org."));
|
||||
} else if (m_ui->launchBtn->isEnabled()) {
|
||||
insertContinueNote(tr("Package complete - Press 'Launch' to start URDE."));
|
||||
} else if (m_ui->packageBtn->isEnabled()) {
|
||||
|
|
|
@ -199,7 +199,7 @@ QVariant SysReqTableModel::data(const QModelIndex& index, int role) const {
|
|||
return {};
|
||||
#endif
|
||||
case 5:
|
||||
return tr("Blender 2.80");
|
||||
return tr("Blender 2.81");
|
||||
}
|
||||
} else if (index.column() == 1) {
|
||||
/* Your System */
|
||||
|
|
|
@ -31,7 +31,7 @@ public:
|
|||
int columnCount(const QModelIndex& parent = QModelIndex()) const override;
|
||||
QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override;
|
||||
QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override;
|
||||
bool isBlenderVersionOk() const { return m_blendMajor > 2 || (m_blendMajor == 2 && m_blendMinor >= 80); }
|
||||
bool isBlenderVersionOk() const { return m_blendMajor > 2 || (m_blendMajor == 2 && m_blendMinor >= 81); }
|
||||
void updateFreeDiskSpace(const QString& path);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue