diff options
author | Jacek Antonelli | 2008-12-01 17:39:58 -0600 |
---|---|---|
committer | Jacek Antonelli | 2008-12-01 17:40:06 -0600 |
commit | 7abecb48babe6a6f09bf6692ba55076546cfced9 (patch) | |
tree | 8d18a88513fb97adf32c10aae78f4be1984942db /linden/indra/newview/llsky.cpp | |
parent | Second Life viewer sources 1.21.6 (diff) | |
download | meta-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.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 | ||