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
3d0ea8c2
Commit
3d0ea8c2
authored
Aug 20, 2015
by
Drake Arconis
Browse files
ALCH-275 - Fix unhandled exception crash
parent
9955eccc
Changes
1
Hide whitespace changes
Inline
Side-by-side
indra/newview/llviewermenu.cpp
View file @
3d0ea8c2
...
...
@@ -3349,8 +3349,8 @@ class LLRefreshTexturesObject : public view_listener_t
{
bool
handleEvent
(
const
LLSD
&
userdata
)
{
for
(
LLObjectSelection
::
root
_iterator
iter
=
LLSelectMgr
::
getInstance
()
->
getSelection
()
->
root
_begin
();
iter
!=
LLSelectMgr
::
getInstance
()
->
getSelection
()
->
root
_end
();
for
(
LLObjectSelection
::
valid
_iterator
iter
=
LLSelectMgr
::
getInstance
()
->
getSelection
()
->
valid
_begin
();
iter
!=
LLSelectMgr
::
getInstance
()
->
getSelection
()
->
valid
_end
();
++
iter
)
{
LLSelectNode
*
node
=
*
iter
;
...
...
@@ -3365,9 +3365,9 @@ class LLRefreshTexturesObject : public view_listener_t
if
(
node
->
getObject
()
->
getTE
(
i
)
->
getMaterialParams
().
notNull
())
{
LLViewerTexture
*
norm_img
=
node
->
getObject
()
->
getTENormalMap
(
i
);
faces_per_tex
.
at
(
norm_img
->
getID
()
)
.
push_back
(
i
);
faces_per_tex
[
norm_img
->
getID
()
]
.
push_back
(
i
);
LLViewerTexture
*
spec_img
=
node
->
getObject
()
->
getTESpecularMap
(
i
);
faces_per_tex
.
at
(
spec_img
->
getID
()
)
.
push_back
(
i
);
faces_per_tex
[
spec_img
->
getID
()
]
.
push_back
(
i
);
}
}
...
...
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