aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llsky.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llsky.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/newview/llsky.cpp b/linden/indra/newview/llsky.cpp
index 8265d9d..3e67119 100644
--- a/linden/indra/newview/llsky.cpp
+++ b/linden/indra/newview/llsky.cpp
@@ -4,7 +4,7 @@
4 * 4 *
5 * $LicenseInfo:firstyear=2000&license=viewergpl$ 5 * $LicenseInfo:firstyear=2000&license=viewergpl$
6 * 6 *
7 * Copyright (c) 2000-2008, Linden Research, Inc. 7 * Copyright (c) 2000-2009, Linden Research, Inc.
8 * 8 *
9 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
10 * The source code in this file ("Source Code") is provided by Linden Lab 10 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -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