aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpolymorph.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:34 -0500
committerJacek Antonelli2008-08-15 23:45:34 -0500
commitcd17687f01420952712a500107e0f93e7ab8d5f8 (patch)
treece48c2b706f2c1176290e39fb555fbdf6648ce01 /linden/indra/newview/llpolymorph.cpp
parentSecond Life viewer sources 1.19.0.5 (diff)
downloadmeta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.zip
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.gz
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.bz2
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.xz
Second Life viewer sources 1.19.1.0
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llpolymorph.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/linden/indra/newview/llpolymorph.cpp b/linden/indra/newview/llpolymorph.cpp
index 0a9479f..a83f5ab 100644
--- a/linden/indra/newview/llpolymorph.cpp
+++ b/linden/indra/newview/llpolymorph.cpp
@@ -35,7 +35,6 @@
35#include "llviewerprecompiledheaders.h" 35#include "llviewerprecompiledheaders.h"
36 36
37#include "llpolymorph.h" 37#include "llpolymorph.h"
38#include "linked_lists.h"
39#include "llvoavatar.h" 38#include "llvoavatar.h"
40#include "llxmltree.h" 39#include "llxmltree.h"
41#include "llendianswizzle.h" 40#include "llendianswizzle.h"
@@ -44,8 +43,6 @@
44 43
45const F32 NORMAL_SOFTEN_FACTOR = 0.65f; 44const F32 NORMAL_SOFTEN_FACTOR = 0.65f;
46 45
47LLLinkedList<LLPolyMorphData> gLoadedMorphs;
48
49//----------------------------------------------------------------------------- 46//-----------------------------------------------------------------------------
50// LLPolyMorphData() 47// LLPolyMorphData()
51//----------------------------------------------------------------------------- 48//-----------------------------------------------------------------------------
@@ -184,8 +181,6 @@ BOOL LLPolyMorphData::loadBinary(FILE *fp, LLPolyMeshSharedData *mesh)
184 mAvgDistortion = mAvgDistortion * (1.f/(F32)mNumIndices); 181 mAvgDistortion = mAvgDistortion * (1.f/(F32)mNumIndices);
185 mAvgDistortion.normVec(); 182 mAvgDistortion.normVec();
186 183
187 gLoadedMorphs.addData(this);
188
189 return TRUE; 184 return TRUE;
190} 185}
191 186