diff options
author | Jacek Antonelli | 2008-08-15 23:44:56 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:56 -0500 |
commit | c07901e29ed545bbb02e3bddf148fe1104b94e9f (patch) | |
tree | f1ada64ce834acd7d92a425efb96c4b86bcf16b1 /linden/indra/newview/llvoclouds.cpp | |
parent | Second Life viewer sources 1.15.0.2 (diff) | |
download | meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.zip meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.gz meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.bz2 meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.xz |
Second Life viewer sources 1.15.1.3
Diffstat (limited to 'linden/indra/newview/llvoclouds.cpp')
-rw-r--r-- | linden/indra/newview/llvoclouds.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/linden/indra/newview/llvoclouds.cpp b/linden/indra/newview/llvoclouds.cpp index 24084cf..be7c1b1 100644 --- a/linden/indra/newview/llvoclouds.cpp +++ b/linden/indra/newview/llvoclouds.cpp | |||
@@ -126,6 +126,12 @@ BOOL LLVOClouds::updateGeometry(LLDrawable *drawable) | |||
126 | for ( ; face_indx < num_faces; face_indx++) | 126 | for ( ; face_indx < num_faces; face_indx++) |
127 | { | 127 | { |
128 | facep = drawable->getFace(face_indx); | 128 | facep = drawable->getFace(face_indx); |
129 | if (!facep) | ||
130 | { | ||
131 | llwarns << "No facep for index " << face_indx << llendl; | ||
132 | continue; | ||
133 | } | ||
134 | |||
129 | if (isParticle()) | 135 | if (isParticle()) |
130 | { | 136 | { |
131 | facep->setSize(1,1); | 137 | facep->setSize(1,1); |
@@ -143,6 +149,12 @@ BOOL LLVOClouds::updateGeometry(LLDrawable *drawable) | |||
143 | for ( ; face_indx < drawable->getNumFaces(); face_indx++) | 149 | for ( ; face_indx < drawable->getNumFaces(); face_indx++) |
144 | { | 150 | { |
145 | facep = drawable->getFace(face_indx); | 151 | facep = drawable->getFace(face_indx); |
152 | if (!facep) | ||
153 | { | ||
154 | llwarns << "No facep for index " << face_indx << llendl; | ||
155 | continue; | ||
156 | } | ||
157 | |||
146 | facep->setTEOffset(face_indx); | 158 | facep->setTEOffset(face_indx); |
147 | facep->setSize(0,0); | 159 | facep->setSize(0,0); |
148 | } | 160 | } |