Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Yggdrasil
Yggdrasil
Commits
2d1329d3
Commit
2d1329d3
authored
Nov 26, 2022
by
Rye Mutt
🍞
Browse files
Fix
parent
c37cbf65
Changes
2
Hide whitespace changes
Inline
Side-by-side
indra/llinventory/llsettingssky.cpp
View file @
2d1329d3
...
...
@@ -633,7 +633,7 @@ LLSettingsSky::validation_list_t LLSettingsSky::validationList()
boost
::
bind
(
&
Validator
::
verifyFloatRange
,
boost
::
placeholders
::
_1
,
boost
::
placeholders
::
_2
,
LLSD
(
LLSDArray
(
0.0
f
)(
1.0
f
)))));
validation
.
push_back
(
Validator
(
SETTING_REFLECTION_PROBE_AMBIANCE
,
false
,
LLSD
::
TypeReal
,
boost
::
bind
(
&
Validator
::
verifyFloatRange
,
_1
,
_2
,
LLSD
(
LLSDArray
(
0.0
f
)(
1.0
f
)))));
boost
::
bind
(
&
Validator
::
verifyFloatRange
,
boost
::
placeholders
::
_1
,
boost
::
placeholders
::
_2
,
LLSD
(
LLSDArray
(
0.0
f
)(
1.0
f
)))));
validation
.
push_back
(
Validator
(
SETTING_RAYLEIGH_CONFIG
,
true
,
LLSD
::
TypeArray
,
&
validateRayleighLayers
));
validation
.
push_back
(
Validator
(
SETTING_ABSORPTION_CONFIG
,
true
,
LLSD
::
TypeArray
,
&
validateAbsorptionLayers
));
...
...
indra/newview/lllocalgltfmaterials.cpp
View file @
2d1329d3
...
...
@@ -133,7 +133,7 @@ bool LLLocalGLTFMaterial::updateSelf()
#ifndef LL_WINDOWS
const
std
::
time_t
temp_time
=
boost
::
filesystem
::
last_write_time
(
boost
::
filesystem
::
path
(
mFilename
));
#else
const
std
::
time_t
temp_time
=
boost
::
filesystem
::
last_write_time
(
boost
::
filesystem
::
path
(
utf8str_to_utf16str
(
mFilename
)));
const
std
::
time_t
temp_time
=
boost
::
filesystem
::
last_write_time
(
boost
::
filesystem
::
path
(
ll_convert_string_to_wide
(
mFilename
)));
#endif
LLSD
new_last_modified
=
asctime
(
localtime
(
&
temp_time
));
...
...
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