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
Testicular Slingshot
Alchemy Viewer
Commits
3ae2d349
Commit
3ae2d349
authored
Feb 19, 2020
by
Rye Mutt
🍞
Browse files
Small optimization to material manager data put
parent
4402ce36
Changes
1
Hide whitespace changes
Inline
Side-by-side
indra/newview/llmaterialmgr.cpp
View file @
3ae2d349
...
...
@@ -319,8 +319,8 @@ void LLMaterialMgr::put(const LLUUID& object_id, const U8 te, const LLMaterial&
if
(
mPutQueue
.
end
()
==
itQueue
)
{
LL_DEBUGS
(
"Materials"
)
<<
"mPutQueue insert object "
<<
object_id
<<
LL_ENDL
;
mPutQueue
.
insert
(
std
::
pair
<
LLUUID
,
facematerial_map_t
>
(
object_id
,
facematerial_map_t
()));
itQueue
=
mPutQueue
.
find
(
object_id
)
;
auto
ret
=
mPutQueue
.
insert
(
std
::
pair
<
LLUUID
,
facematerial_map_t
>
(
object_id
,
facematerial_map_t
()));
itQueue
=
ret
.
first
;
}
auto
itFace
=
itQueue
->
second
.
find
(
te
);
...
...
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