summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatermodelpreview.h
diff options
context:
space:
mode:
authorleyla_linden <none@none>2010-12-20 17:32:05 -0800
committerleyla_linden <none@none>2010-12-20 17:32:05 -0800
commite7f3f3bdbbec310030209e09d389cd434adb7991 (patch)
tree6185847fa3bcdc04b0c06062bfce5bd66720ab25 /indra/newview/llfloatermodelpreview.h
parentc75e8f61aa7ac51b3eadeb82d8779a1ce6a18ea1 (diff)
model upload wizard - added optimization and state changes
Diffstat (limited to 'indra/newview/llfloatermodelpreview.h')
-rwxr-xr-xindra/newview/llfloatermodelpreview.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llfloatermodelpreview.h b/indra/newview/llfloatermodelpreview.h
index ae4cf18fee..64b220d86b 100755
--- a/indra/newview/llfloatermodelpreview.h
+++ b/indra/newview/llfloatermodelpreview.h
@@ -52,6 +52,8 @@ class domTranslate;
class LLMenuButton;
class LLToggleableMenu;
+const S32 NUM_LOD = 4;
+
class LLModelLoader : public LLThread
{
public:
@@ -258,7 +260,7 @@ class LLModelPreview : public LLViewerDynamicTexture, public LLMutex
void clearModel(S32 lod);
void loadModel(std::string filename, S32 lod);
void loadModelCallback(S32 lod);
- void genLODs(S32 which_lod = -1);
+ void genLODs(S32 which_lod = -1, U32 decimation = 3);
void generateNormals();
void consolidate();
void clearMaterials();