General: Bump Blender minimum version to 2.80

This commit is contained in:
Lioncash 2019-08-30 05:49:36 -04:00
parent 08b7486bf0
commit 0fceb801ca
3 changed files with 4 additions and 4 deletions

View File

@ -284,7 +284,7 @@ void MainWindow::onBinaryDownloaded(QuaZip& file) {
m_ui->downloadErrorLabel->setText(tr("Download successful - Press 'Extract' to continue."), true); m_ui->downloadErrorLabel->setText(tr("Download successful - Press 'Extract' to continue."), true);
} }
if (!err && !m_ui->sysReqTable->isBlenderVersionOk()) { if (!err && !m_ui->sysReqTable->isBlenderVersionOk()) {
m_ui->downloadErrorLabel->setText(tr("Blender 2.78+ must be installed. Please download via Steam or blender.org.")); m_ui->downloadErrorLabel->setText(tr("Blender 2.80+ must be installed. Please download via Steam or blender.org."));
} }
} }
@ -327,7 +327,7 @@ void MainWindow::enableOperations() {
} }
if (!m_ui->sysReqTable->isBlenderVersionOk()) { if (!m_ui->sysReqTable->isBlenderVersionOk()) {
insertContinueNote(tr("Blender 2.78+ must be installed. Please download via Steam or blender.org.")); insertContinueNote(tr("Blender 2.80+ must be installed. Please download via Steam or blender.org."));
} else if (m_ui->launchBtn->isEnabled()) { } else if (m_ui->launchBtn->isEnabled()) {
insertContinueNote(tr("Package complete - Press 'Launch' to start URDE.")); insertContinueNote(tr("Package complete - Press 'Launch' to start URDE."));
} else if (m_ui->packageBtn->isEnabled()) { } else if (m_ui->packageBtn->isEnabled()) {

View File

@ -199,7 +199,7 @@ QVariant SysReqTableModel::data(const QModelIndex& index, int role) const {
return {}; return {};
#endif #endif
case 5: case 5:
return tr("Blender 2.78"); return tr("Blender 2.80");
} }
} else if (index.column() == 1) { } else if (index.column() == 1) {
/* Your System */ /* Your System */

View File

@ -31,7 +31,7 @@ public:
int columnCount(const QModelIndex& parent = QModelIndex()) const; int columnCount(const QModelIndex& parent = QModelIndex()) const;
QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const;
QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const;
bool isBlenderVersionOk() const { return m_blendMajor > 2 || (m_blendMajor == 2 && m_blendMinor >= 78); } bool isBlenderVersionOk() const { return m_blendMajor > 2 || (m_blendMajor == 2 && m_blendMinor >= 80); }
void updateFreeDiskSpace(const QString& path); void updateFreeDiskSpace(const QString& path);
}; };