aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llsky.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-12-01 17:39:58 -0600
committerJacek Antonelli2008-12-01 17:40:06 -0600
commit7abecb48babe6a6f09bf6692ba55076546cfced9 (patch)
tree8d18a88513fb97adf32c10aae78f4be1984942db /linden/indra/newview/llsky.cpp
parentSecond Life viewer sources 1.21.6 (diff)
downloadmeta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.zip
meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.gz
meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.bz2
meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.xz
Second Life viewer sources 1.22.0-RC
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llsky.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llsky.cpp b/linden/indra/newview/llsky.cpp
index 8265d9d..18029a7 100644
--- a/linden/indra/newview/llsky.cpp
+++ b/linden/indra/newview/llsky.cpp
@@ -284,16 +284,16 @@ LLColor4U LLSky::getFadeColor() const
284 284
285void LLSky::init(const LLVector3 &sun_direction) 285void LLSky::init(const LLVector3 &sun_direction)
286{ 286{
287 mVOWLSkyp = static_cast<LLVOWLSky*>(gObjectList.createObjectViewer(LLViewerObject::LL_VO_WL_SKY, gAgent.getRegion())); 287 mVOWLSkyp = static_cast<LLVOWLSky*>(gObjectList.createObjectViewer(LLViewerObject::LL_VO_WL_SKY, NULL));
288 mVOWLSkyp->initSunDirection(sun_direction, LLVector3::zero); 288 mVOWLSkyp->initSunDirection(sun_direction, LLVector3::zero);
289 gPipeline.addObject(mVOWLSkyp.get()); 289 gPipeline.addObject(mVOWLSkyp.get());
290 290
291 mVOSkyp = (LLVOSky *)gObjectList.createObjectViewer(LLViewerObject::LL_VO_SKY, gAgent.getRegion()); 291 mVOSkyp = (LLVOSky *)gObjectList.createObjectViewer(LLViewerObject::LL_VO_SKY, NULL);
292 mVOSkyp->initSunDirection(sun_direction, LLVector3()); 292 mVOSkyp->initSunDirection(sun_direction, LLVector3());
293 gPipeline.addObject((LLViewerObject *)mVOSkyp); 293 gPipeline.addObject((LLViewerObject *)mVOSkyp);
294 294
295 295
296 mVOGroundp = (LLVOGround*)gObjectList.createObjectViewer(LLViewerObject::LL_VO_GROUND, gAgent.getRegion()); 296 mVOGroundp = (LLVOGround*)gObjectList.createObjectViewer(LLViewerObject::LL_VO_GROUND, NULL);
297 LLVOGround *groundp = mVOGroundp; 297 LLVOGround *groundp = mVOGroundp;
298 gPipeline.addObject((LLViewerObject *)groundp); 298 gPipeline.addObject((LLViewerObject *)groundp);
299 299