diff options
author | Jacek Antonelli | 2009-06-08 00:41:31 -0500 |
---|---|---|
committer | Jacek Antonelli | 2009-06-08 00:41:31 -0500 |
commit | 0e5df9bdf8d6b418bb6e25615e2ffc922d0f02aa (patch) | |
tree | 2c93d38e210832e737d09cff7561373d8d5453b2 /linden/indra/newview/llsky.cpp | |
parent | Imprudence 1.1.0 released. (diff) | |
parent | Updated Imprudence to be based on SL 1.22.11. (ChangeLog Entry) (diff) | |
download | meta-impy-0e5df9bdf8d6b418bb6e25615e2ffc922d0f02aa.zip meta-impy-0e5df9bdf8d6b418bb6e25615e2ffc922d0f02aa.tar.gz meta-impy-0e5df9bdf8d6b418bb6e25615e2ffc922d0f02aa.tar.bz2 meta-impy-0e5df9bdf8d6b418bb6e25615e2ffc922d0f02aa.tar.xz |
Merge branch 'sl-base-1.22' into next
Conflicts:
linden/indra/newview/English.lproj/InfoPlist.strings
linden/indra/newview/skins/default/xui/en-us/panel_chat_bar.xml
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llsky.cpp | 8 |
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 | ||
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 | ||