diff options
author | Dave Parks <davep@lindenlab.com> | 2010-12-10 20:40:28 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-12-10 20:40:28 -0600 |
commit | 2508bb2d85484a958f6d82ee40346a9c5cfec7ff (patch) | |
tree | ad742da955d443235284603293c81942f8ce5103 /indra/newview/llfloatermodelpreview.h | |
parent | 6a599955d1b451697bafef3ad4d72c6c43b69ab7 (diff) |
More correct GLOD usage -- one group, many objects.
Diffstat (limited to 'indra/newview/llfloatermodelpreview.h')
-rw-r--r-- | indra/newview/llfloatermodelpreview.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llfloatermodelpreview.h b/indra/newview/llfloatermodelpreview.h index d6cc9ccec6..4a589a6108 100644 --- a/indra/newview/llfloatermodelpreview.h +++ b/indra/newview/llfloatermodelpreview.h @@ -268,6 +268,8 @@ class LLModelPreview : public LLViewerDynamicTexture, public LLMutex void updateStatusMessages(); bool containsRiggedAsset( void ); void setAspect(F32 aspect) { mAspect = aspect; }; + void clearGLODGroup(); + //void setLoading(bool loading) { mLoading = loading; }; static void textureLoadedCallback( BOOL success, LLViewerFetchedTexture *src_vi, LLImageRaw* src, LLImageRaw* src_aux, S32 discard_level, BOOL final, void* userdata ); @@ -313,10 +315,8 @@ class LLModelPreview : public LLViewerDynamicTexture, public LLMutex LLModelLoader::model_list mModel[LLModel::NUM_LODS]; LLModelLoader::model_list mBaseModel; - std::map<LLPointer<LLModel>, U32> mGroup; + U32 mGroup; std::map<LLPointer<LLModel>, U32> mObject; - std::map<LLPointer<LLModel>, std::vector<U32> > mPatch; - std::map<LLPointer<LLModel>, F32> mPercentage; U32 mMaxTriangleLimit; std::map<LLPointer<LLModel>, std::vector<LLPointer<LLVertexBuffer> > > mPhysicsMesh; |