Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alchemy
Alchemy Next
Commits
7649bb5c
Commit
7649bb5c
authored
Sep 03, 2021
by
Rye Mutt
🍞
Browse files
Fix vec3 debug settings floater value
parent
f2566ef5
Changes
1
Hide whitespace changes
Inline
Side-by-side
indra/newview/llfloatersettingsdebug.cpp
View file @
7649bb5c
...
@@ -153,10 +153,10 @@ void LLFloaterSettingsDebug::onCommitSettings()
...
@@ -153,10 +153,10 @@ void LLFloaterSettingsDebug::onCommitSettings()
controlp
->
set
(
vectord
.
getValue
());
controlp
->
set
(
vectord
.
getValue
());
break
;
break
;
case
TYPE_VEC4
:
case
TYPE_VEC4
:
vector4
.
mV
[
VX
]
=
getChild
<
LLUICtrl
>
(
"val_spinner_1"
)
->
getValue
().
asReal
();
vector4
.
mV
[
VX
]
=
(
F32
)
getChild
<
LLUICtrl
>
(
"val_spinner_1"
)
->
getValue
().
asReal
();
vector4
.
mV
[
VY
]
=
getChild
<
LLUICtrl
>
(
"val_spinner_2"
)
->
getValue
().
asReal
();
vector4
.
mV
[
VY
]
=
(
F32
)
getChild
<
LLUICtrl
>
(
"val_spinner_2"
)
->
getValue
().
asReal
();
vector4
.
mV
[
VZ
]
=
getChild
<
LLUICtrl
>
(
"val_spinner_3"
)
->
getValue
().
asReal
();
vector4
.
mV
[
VZ
]
=
(
F32
)
getChild
<
LLUICtrl
>
(
"val_spinner_3"
)
->
getValue
().
asReal
();
vector4
.
mV
[
VW
]
=
getChild
<
LLUICtrl
>
(
"val_spinner_
3
"
)
->
getValue
().
asReal
();
vector4
.
mV
[
VW
]
=
(
F32
)
getChild
<
LLUICtrl
>
(
"val_spinner_
4
"
)
->
getValue
().
asReal
();
controlp
->
set
(
vector4
.
getValue
());
controlp
->
set
(
vector4
.
getValue
());
break
;
break
;
case
TYPE_QUAT
:
case
TYPE_QUAT
:
...
...
Write
Preview
Supports
Markdown
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