diff options
Diffstat (limited to 'linden/indra/newview/llsky.cpp')
-rw-r--r-- | linden/indra/newview/llsky.cpp | 6 |
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 | ||
285 | void LLSky::init(const LLVector3 &sun_direction) | 285 | void 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 | ||