diff options
author | Dave Parks <davep@lindenlab.com> | 2010-12-22 15:18:55 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-12-22 15:18:55 -0600 |
commit | 07d3480ec35a9a5bade25acb99fc39935bad38a2 (patch) | |
tree | 13a4176ab873b3a415ac1306f5adda9974e348e6 /indra/newview/llfloatermodelpreview.h | |
parent | 171307ded9084b3045b7f447abc9662525fadc46 (diff) |
SH-658 Preserve LOD mode when switching between preview LoDs.
Diffstat (limited to 'indra/newview/llfloatermodelpreview.h')
-rw-r--r-- | indra/newview/llfloatermodelpreview.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/indra/newview/llfloatermodelpreview.h b/indra/newview/llfloatermodelpreview.h index 8c7ab39e55..9b908eafee 100644 --- a/indra/newview/llfloatermodelpreview.h +++ b/indra/newview/llfloatermodelpreview.h @@ -194,9 +194,7 @@ protected: static void onPhysicsOptimize(LLUICtrl* ctrl, void* userdata); static void onPhysicsDecomposeBack(LLUICtrl* ctrl, void* userdata); static void onPhysicsSimplifyBack(LLUICtrl* ctrl, void* userdata); - - - + void draw(); void initDecompControls(); @@ -220,6 +218,12 @@ protected: //use "disabled" as false by default std::map<std::string, bool> mViewOptionDisabled; + + //store which lod mode each LOD is using + // 0 - load from file + // 1 - auto generate + // 2 - None + S32 mLODMode[4]; LLMenuButton* mViewOptionMenuButton; LLToggleableMenu* mViewOptionMenu; |