diff options
author | David Seikel | 2011-03-20 19:34:49 +1000 |
---|---|---|
committer | David Seikel | 2011-03-20 19:34:49 +1000 |
commit | ed5039ab121bd464c647c3a732cc1c5b0a72ea63 (patch) | |
tree | 1b5318809489a7fae52fa4d9e1b4ab23a57c4979 /linden/indra/newview/llvlmanager.cpp | |
parent | Dunno how this file got missed. (diff) | |
download | meta-impy-ed5039ab121bd464c647c3a732cc1c5b0a72ea63.zip meta-impy-ed5039ab121bd464c647c3a732cc1c5b0a72ea63.tar.gz meta-impy-ed5039ab121bd464c647c3a732cc1c5b0a72ea63.tar.bz2 meta-impy-ed5039ab121bd464c647c3a732cc1c5b0a72ea63.tar.xz |
We don't need support for the aurora grid in the viewer for the meta 7 grid.
It seems like a waste of code anyway.
Diffstat (limited to 'linden/indra/newview/llvlmanager.cpp')
-rw-r--r-- | linden/indra/newview/llvlmanager.cpp | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/linden/indra/newview/llvlmanager.cpp b/linden/indra/newview/llvlmanager.cpp index 7f483ca..097b8e8 100644 --- a/linden/indra/newview/llvlmanager.cpp +++ b/linden/indra/newview/llvlmanager.cpp | |||
@@ -57,13 +57,11 @@ LLVLManager::~LLVLManager() | |||
57 | 57 | ||
58 | void LLVLManager::addLayerData(LLVLData *vl_datap, const S32 mesg_size) | 58 | void LLVLManager::addLayerData(LLVLData *vl_datap, const S32 mesg_size) |
59 | { | 59 | { |
60 | if (LAND_LAYER_CODE == vl_datap->mType || | 60 | if (LAND_LAYER_CODE == vl_datap->mType) |
61 | AURORA_LAND_LAYER_CODE == vl_datap->mType) | ||
62 | { | 61 | { |
63 | mLandBits += mesg_size * 8; | 62 | mLandBits += mesg_size * 8; |
64 | } | 63 | } |
65 | else if (WIND_LAYER_CODE == vl_datap->mType || | 64 | else if (WIND_LAYER_CODE == vl_datap->mType) |
66 | AURORA_WIND_LAYER_CODE == vl_datap->mType) | ||
67 | { | 65 | { |
68 | mWindBits += mesg_size * 8; | 66 | mWindBits += mesg_size * 8; |
69 | } | 67 | } |
@@ -96,17 +94,11 @@ void LLVLManager::unpackData(const S32 num_packets) | |||
96 | { | 94 | { |
97 | datap->mRegionp->getLand().decompressDCTPatch(bit_pack, &goph, FALSE); | 95 | datap->mRegionp->getLand().decompressDCTPatch(bit_pack, &goph, FALSE); |
98 | } | 96 | } |
99 | else if (AURORA_LAND_LAYER_CODE == datap->mType) | 97 | else if (WIND_LAYER_CODE == datap->mType) |
100 | { | ||
101 | datap->mRegionp->getLand().decompressDCTPatch(bit_pack, &goph, TRUE); | ||
102 | } | ||
103 | else if (WIND_LAYER_CODE == datap->mType || | ||
104 | AURORA_WIND_LAYER_CODE == datap->mType) | ||
105 | { | 98 | { |
106 | datap->mRegionp->mWind.decompress(bit_pack, &goph); | 99 | datap->mRegionp->mWind.decompress(bit_pack, &goph); |
107 | } | 100 | } |
108 | else if (CLOUD_LAYER_CODE == datap->mType || | 101 | else if (CLOUD_LAYER_CODE == datap->mType) |
109 | AURORA_CLOUD_LAYER_CODE == datap->mType) | ||
110 | { | 102 | { |
111 | datap->mRegionp->mCloudLayer.decompress(bit_pack, &goph); | 103 | datap->mRegionp->mCloudLayer.decompress(bit_pack, &goph); |
112 | } | 104 | } |