Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
NiranV
Black Dragon Viewer
Commits
3d88b258
Commit
3d88b258
authored
Nov 21, 2019
by
andreykproductengine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SL-12322 addTriangle crash
parent
8a0338bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
indra/llmath/llvolume.cpp
indra/llmath/llvolume.cpp
+2
-2
No files found.
indra/llmath/llvolume.cpp
View file @
3d88b258
...
...
@@ -2419,7 +2419,7 @@ bool LLVolume::unpackVolumeFaces(std::istream& is, S32 size)
if
(
idx
.
empty
()
||
face
.
mNumIndices
<
3
)
{
//why is there an empty index list?
LL_WARNS
()
<<
"Empty face present!
"
<<
LL_ENDL
;
LL_WARNS
()
<<
"Empty face present!
Face index: "
<<
i
<<
" Total: "
<<
face_count
<<
LL_ENDL
;
continue
;
}
...
...
@@ -5236,7 +5236,7 @@ bool LLVolumeFace::cacheOptimize()
LLVCacheLRU
cache
;
if
(
mNumVertices
<
3
)
if
(
mNumVertices
<
3
||
mNumIndices
<
3
)
{
//nothing to do
return
true
;
}
...
...
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