Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
61278a06
Commit
61278a06
authored
Oct 21, 2016
by
Jan Möbius
Browse files
QStringlist operator needs int
parent
a83bb4fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
widgets/glWidget/QtBaseViewer.cc
View file @
61278a06
...
...
@@ -1168,12 +1168,12 @@ bool glViewer::decodeView(const QString& _view,
// Parse the components
// first, get the projection and the modelview matrices
//*********************************************************
for
(
std
::
size_
t
i
=
0
;
i
<
4
;
++
i
)
for
(
in
t
i
=
0
;
i
<
4
;
++
i
)
{
for
(
std
::
size_
t
j
=
0
;
j
<
4
;
++
j
)
for
(
in
t
j
=
0
;
j
<
4
;
++
j
)
{
m
(
i
,
j
)
=
split
[
i
*
4
+
j
].
toDouble
();
p
(
i
,
j
)
=
split
[
i
*
4
+
j
+
16
].
toDouble
();
p
(
i
,
j
)
=
split
[
i
*
4
+
j
+
16
].
toDouble
();
}
}
...
...
@@ -1211,9 +1211,9 @@ bool glViewer::decodeView(const QString& _view,
// Parse the components
// first, get the projection and the modelview matrices
//*********************************************************
for
(
std
::
size_
t
i
=
0
;
i
<
4
;
++
i
)
for
(
in
t
i
=
0
;
i
<
4
;
++
i
)
{
for
(
std
::
size_
t
j
=
0
;
j
<
4
;
++
j
)
for
(
in
t
j
=
0
;
j
<
4
;
++
j
)
{
m
(
i
,
j
)
=
split
[
i
*
4
+
j
].
toDouble
();
p
(
i
,
j
)
=
split
[
i
*
4
+
j
+
16
].
toDouble
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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