diff options
author | Armin Weatherwax | 2010-09-07 10:08:26 +0200 |
---|---|---|
committer | Armin Weatherwax | 2010-09-23 15:38:26 +0200 |
commit | 09b7d25b1d24b5b6d5bb1ce31544d8f4abaa3bb7 (patch) | |
tree | 615500bb0a5e8dfdc908ac7bd6b4ddd4b23b9ea6 /linden/indra/newview/llpanellandmedia.cpp | |
parent | llmediaplugins first step (diff) | |
download | meta-impy-09b7d25b1d24b5b6d5bb1ce31544d8f4abaa3bb7.zip meta-impy-09b7d25b1d24b5b6d5bb1ce31544d8f4abaa3bb7.tar.gz meta-impy-09b7d25b1d24b5b6d5bb1ce31544d8f4abaa3bb7.tar.bz2 meta-impy-09b7d25b1d24b5b6d5bb1ce31544d8f4abaa3bb7.tar.xz |
lost in merge: 1 debug setting, some member variables from llpanellandmedia
todo: review llpanellandmedia; port flotervoicelicense
Diffstat (limited to 'linden/indra/newview/llpanellandmedia.cpp')
-rw-r--r-- | linden/indra/newview/llpanellandmedia.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/linden/indra/newview/llpanellandmedia.cpp b/linden/indra/newview/llpanellandmedia.cpp index a8e7c4a..fc84bb5 100644 --- a/linden/indra/newview/llpanellandmedia.cpp +++ b/linden/indra/newview/llpanellandmedia.cpp | |||
@@ -171,8 +171,8 @@ void LLPanelLandMedia::refresh() | |||
171 | // Display options | 171 | // Display options |
172 | BOOL can_change_media = LLViewerParcelMgr::isParcelModifiableByAgent(parcel, GP_LAND_CHANGE_MEDIA); | 172 | BOOL can_change_media = LLViewerParcelMgr::isParcelModifiableByAgent(parcel, GP_LAND_CHANGE_MEDIA); |
173 | 173 | ||
174 | //imprudence fixme mCheckSoundLocal->set( parcel->getSoundLocal() ); | 174 | mCheckSoundLocal->set( parcel->getSoundLocal() ); |
175 | //imprudence fixme mCheckSoundLocal->setEnabled( can_change_media ); | 175 | mCheckSoundLocal->setEnabled( can_change_media ); |
176 | 176 | ||
177 | LLViewerRegion* region = LLViewerParcelMgr::getInstance()->getSelectionRegion(); | 177 | LLViewerRegion* region = LLViewerParcelMgr::getInstance()->getSelectionRegion(); |
178 | if (!region) | 178 | if (!region) |
@@ -188,39 +188,39 @@ void LLPanelLandMedia::refresh() | |||
188 | { | 188 | { |
189 | if (region && region->isVoiceEnabled()) // estate-wide voice-disable overrides all | 189 | if (region && region->isVoiceEnabled()) // estate-wide voice-disable overrides all |
190 | { | 190 | { |
191 | //imprudence fixme mCheckEnableVoiceChatIsEstateDisabled->setVisible(false); | 191 | mCheckEnableVoiceChatIsEstateDisabled->setVisible(false); |
192 | 192 | ||
193 | //imprudence fixme mCheckEnableVoiceChat->setVisible(true); | 193 | mCheckEnableVoiceChat->setVisible(true); |
194 | //imprudence fixme mCheckEnableVoiceChat->setEnabled( can_change_media ); | 194 | mCheckEnableVoiceChat->setEnabled( can_change_media ); |
195 | //imprudence fixme mCheckEnableVoiceChat->set(allow_voice); | 195 | mCheckEnableVoiceChat->set(allow_voice); |
196 | 196 | ||
197 | //imprudence fixme mCheckEnableVoiceChatParcel->setEnabled( can_change_media && allow_voice ); | 197 | mCheckEnableVoiceChatParcel->setEnabled( can_change_media && allow_voice ); |
198 | } | 198 | } |
199 | else // disabled at region level | 199 | else // disabled at region level |
200 | { | 200 | { |
201 | //imprudence fixme mCheckEnableVoiceChatIsEstateDisabled->setVisible(true); // always disabled | 201 | mCheckEnableVoiceChatIsEstateDisabled->setVisible(true); // always disabled |
202 | //imprudence fixme mCheckEnableVoiceChat->setVisible(false); | 202 | mCheckEnableVoiceChat->setVisible(false); |
203 | //imprudence fixme mCheckEnableVoiceChat->setEnabled(false); | 203 | mCheckEnableVoiceChat->setEnabled(false); |
204 | //imprudence fixme mCheckEnableVoiceChat->set(false); | 204 | mCheckEnableVoiceChat->set(false); |
205 | 205 | ||
206 | //imprudence fixme mCheckEnableVoiceChatParcel->setEnabled(false); | 206 | mCheckEnableVoiceChatParcel->setEnabled(false); |
207 | } | 207 | } |
208 | } | 208 | } |
209 | else | 209 | else |
210 | { | 210 | { |
211 | //imprudence fixme mCheckEnableVoiceChatIsEstateDisabled->setVisible(true); | 211 | mCheckEnableVoiceChatIsEstateDisabled->setVisible(true); |
212 | 212 | ||
213 | //imprudence fixme mCheckEnableVoiceChat->setVisible(true); | 213 | mCheckEnableVoiceChat->setVisible(true); |
214 | //imprudence fixme mCheckEnableVoiceChat->setEnabled( can_change_media ); | 214 | mCheckEnableVoiceChat->setEnabled( can_change_media ); |
215 | //imprudence fixme mCheckEnableVoiceChat->set(allow_voice); | 215 | mCheckEnableVoiceChat->set(allow_voice); |
216 | 216 | ||
217 | //imprudence fixme mCheckEnableVoiceChatParcel->setEnabled( can_change_media && allow_voice ); | 217 | mCheckEnableVoiceChatParcel->setEnabled( can_change_media && allow_voice ); |
218 | } | 218 | } |
219 | 219 | ||
220 | //imprudence fixme mCheckEnableVoiceChatParcel->set(!parcel->getParcelFlagUseEstateVoiceChannel()); | 220 | mCheckEnableVoiceChatParcel->set(!parcel->getParcelFlagUseEstateVoiceChannel()); |
221 | 221 | ||
222 | //imprudence fixme mMusicURLEdit->setText(parcel->getMusicURL()); | 222 | mMusicURLEdit->setText(parcel->getMusicURL()); |
223 | //imprudence fixme mMusicURLEdit->setEnabled( can_change_media ); | 223 | mMusicURLEdit->setEnabled( can_change_media ); |
224 | 224 | ||
225 | 225 | ||
226 | 226 | ||