summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorSergei Litovchuk <slitovchuk@productengine.com>2010-01-29 20:51:17 +0200
committerSergei Litovchuk <slitovchuk@productengine.com>2010-01-29 20:51:17 +0200
commitbc5cd7337f3b87d1805309cbd9e27f9d86fad100 (patch)
tree0f9688dc849f22a48cf51c5f5282c5e6a9b3480a /indra
parent6453d6d1ddc48f9e69ad45d6bba33fa9b2be76de (diff)
No ticket, Fixed displaying parcel voice permission in Place Profile.
--HG-- branch : product-engine
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llpanelplaceprofile.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llpanelplaceprofile.cpp b/indra/newview/llpanelplaceprofile.cpp
index 8d689b2c5e..9b31ef23a2 100644
--- a/indra/newview/llpanelplaceprofile.cpp
+++ b/indra/newview/llpanelplaceprofile.cpp
@@ -341,7 +341,7 @@ void LLPanelPlaceProfile::displaySelectedParcelInfo(LLParcel* parcel,
std::string off = getString("off");
// Processing parcel characteristics
- if (parcel->getParcelFlagAllowVoice())
+ if (region->isVoiceEnabled() && parcel->getParcelFlagAllowVoice())
{
mVoiceIcon->setValue(icon_voice);
mVoiceText->setText(on);
@@ -385,9 +385,9 @@ void LLPanelPlaceProfile::displaySelectedParcelInfo(LLParcel* parcel,
mBuildText->setText(off);
}
- if((region->getRegionFlags() & REGION_FLAGS_SKIP_SCRIPTS) ||
- (region->getRegionFlags() & REGION_FLAGS_ESTATE_SKIP_SCRIPTS) ||
- !parcel->getAllowOtherScripts())
+ if ((region->getRegionFlags() & REGION_FLAGS_SKIP_SCRIPTS) ||
+ (region->getRegionFlags() & REGION_FLAGS_ESTATE_SKIP_SCRIPTS) ||
+ !parcel->getAllowOtherScripts())
{
mScriptsIcon->setValue(icon_scripts_no);
mScriptsText->setText(off);