From 0fceb801caf45f20d473206465fe40cbb4ee2d69 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 30 Aug 2019 05:49:36 -0400 Subject: [PATCH] General: Bump Blender minimum version to 2.80 --- hecl-gui/MainWindow.cpp | 4 ++-- hecl-gui/SysReqTableView.cpp | 2 +- hecl-gui/SysReqTableView.hpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hecl-gui/MainWindow.cpp b/hecl-gui/MainWindow.cpp index 1ee020dd1..75cf18103 100644 --- a/hecl-gui/MainWindow.cpp +++ b/hecl-gui/MainWindow.cpp @@ -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.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()) { - 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()) { insertContinueNote(tr("Package complete - Press 'Launch' to start URDE.")); } else if (m_ui->packageBtn->isEnabled()) { diff --git a/hecl-gui/SysReqTableView.cpp b/hecl-gui/SysReqTableView.cpp index d0ba972e5..27d0d1daf 100644 --- a/hecl-gui/SysReqTableView.cpp +++ b/hecl-gui/SysReqTableView.cpp @@ -199,7 +199,7 @@ QVariant SysReqTableModel::data(const QModelIndex& index, int role) const { return {}; #endif case 5: - return tr("Blender 2.78"); + return tr("Blender 2.80"); } } else if (index.column() == 1) { /* Your System */ diff --git a/hecl-gui/SysReqTableView.hpp b/hecl-gui/SysReqTableView.hpp index 660dec47f..a8223b38c 100644 --- a/hecl-gui/SysReqTableView.hpp +++ b/hecl-gui/SysReqTableView.hpp @@ -31,7 +31,7 @@ public: int columnCount(const QModelIndex& parent = QModelIndex()) const; QVariant data(const QModelIndex& index, 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); };