aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lightshare.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/lightshare.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/linden/indra/newview/lightshare.cpp b/linden/indra/newview/lightshare.cpp
index 1814f4a..378a755 100644
--- a/linden/indra/newview/lightshare.cpp
+++ b/linden/indra/newview/lightshare.cpp
@@ -77,10 +77,7 @@ LightShare::LightShare( LLMessageSystem* msg ) :
77 buf, size, 0, 249); 77 buf, size, 0, 249);
78 78
79 mWater = new LLWaterParamSet(); 79 mWater = new LLWaterParamSet();
80// mSky = new LLWLParamSet(); 80 mSky = new LLWLParamSet();
81 LLWLParamManager * wl_param_mgr = LLWLParamManager::instance();
82 static LLWLParamSet & sSky = wl_param_mgr->mCurParams;
83 mSky = &sSky;
84 81
85 mWaterNormal = new LLUUID(); 82 mWaterNormal = new LLUUID();
86 83
@@ -96,7 +93,7 @@ LightShare::LightShare( LLMessageSystem* msg ) :
96LightShare::~LightShare() 93LightShare::~LightShare()
97{ 94{
98 delete mWater; 95 delete mWater;
99// delete mSky; 96 delete mSky;
100 delete mWaterNormal; 97 delete mWaterNormal;
101} 98}
102 99