Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hecl-gui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AxioDL
hecl-gui
Commits
db38d19a
Commit
db38d19a
authored
Dec 22, 2019
by
encounter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Require Blender 2.81+
parent
0f05e9df
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
MainWindow.cpp
MainWindow.cpp
+2
-2
SysReqTableView.cpp
SysReqTableView.cpp
+1
-1
SysReqTableView.hpp
SysReqTableView.hpp
+1
-1
No files found.
MainWindow.cpp
View file @
db38d19a
...
...
@@ -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.8
0
+ must be installed. Please download via Steam or blender.org."
));
m_ui
->
downloadErrorLabel
->
setText
(
tr
(
"Blender 2.8
1
+ 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.8
0
+ must be installed. Please download via Steam or blender.org."
));
insertContinueNote
(
tr
(
"Blender 2.8
1
+ 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
())
{
...
...
SysReqTableView.cpp
View file @
db38d19a
...
...
@@ -199,7 +199,7 @@ QVariant SysReqTableModel::data(const QModelIndex& index, int role) const {
return
{};
#endif
case
5
:
return
tr
(
"Blender 2.8
0
"
);
return
tr
(
"Blender 2.8
1
"
);
}
}
else
if
(
index
.
column
()
==
1
)
{
/* Your System */
...
...
SysReqTableView.hpp
View file @
db38d19a
...
...
@@ -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
>=
8
0
);
}
bool
isBlenderVersionOk
()
const
{
return
m_blendMajor
>
2
||
(
m_blendMajor
==
2
&&
m_blendMinor
>=
8
1
);
}
void
updateFreeDiskSpace
(
const
QString
&
path
);
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment