diff options
Diffstat (limited to 'linden/indra/newview/llfloaterregioninfo.cpp')
-rw-r--r-- | linden/indra/newview/llfloaterregioninfo.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/linden/indra/newview/llfloaterregioninfo.cpp b/linden/indra/newview/llfloaterregioninfo.cpp index 7fa5f6a..682fda8 100644 --- a/linden/indra/newview/llfloaterregioninfo.cpp +++ b/linden/indra/newview/llfloaterregioninfo.cpp | |||
@@ -74,7 +74,6 @@ | |||
74 | const S32 TERRAIN_TEXTURE_COUNT = 4; | 74 | const S32 TERRAIN_TEXTURE_COUNT = 4; |
75 | const S32 CORNER_COUNT = 4; | 75 | const S32 CORNER_COUNT = 4; |
76 | 76 | ||
77 | #define LL_ENABLE_MAINLAND_VISIBLE_CONTROL 0 | ||
78 | 77 | ||
79 | ///---------------------------------------------------------------------------- | 78 | ///---------------------------------------------------------------------------- |
80 | /// Local class declaration | 79 | /// Local class declaration |
@@ -1920,9 +1919,6 @@ BOOL LLPanelEstateInfo::postBuild() | |||
1920 | { | 1919 | { |
1921 | // set up the callbacks for the generic controls | 1920 | // set up the callbacks for the generic controls |
1922 | initCtrl("externally_visible_check"); | 1921 | initCtrl("externally_visible_check"); |
1923 | #if LL_ENABLE_MAINLAND_VISIBLE_CONTROL | ||
1924 | initCtrl("mainland_visible_check"); | ||
1925 | #endif | ||
1926 | initCtrl("use_global_time_check"); | 1922 | initCtrl("use_global_time_check"); |
1927 | initCtrl("fixed_sun_check"); | 1923 | initCtrl("fixed_sun_check"); |
1928 | initCtrl("allow_direct_teleport"); | 1924 | initCtrl("allow_direct_teleport"); |
@@ -1934,9 +1930,6 @@ BOOL LLPanelEstateInfo::postBuild() | |||
1934 | initHelpBtn("use_global_time_help", "HelpEstateUseGlobalTime"); | 1930 | initHelpBtn("use_global_time_help", "HelpEstateUseGlobalTime"); |
1935 | initHelpBtn("fixed_sun_help", "HelpEstateFixedSun"); | 1931 | initHelpBtn("fixed_sun_help", "HelpEstateFixedSun"); |
1936 | initHelpBtn("externally_visible_help", "HelpEstateExternallyVisible"); | 1932 | initHelpBtn("externally_visible_help", "HelpEstateExternallyVisible"); |
1937 | #if LL_ENABLE_MAINLAND_VISIBLE_CONTROL | ||
1938 | initHelpBtn("mainland_visible_help", "HelpEstateMainlandVisible"); | ||
1939 | #endif | ||
1940 | initHelpBtn("allow_direct_teleport_help", "HelpEstateAllowDirectTeleport"); | 1933 | initHelpBtn("allow_direct_teleport_help", "HelpEstateAllowDirectTeleport"); |
1941 | initHelpBtn("allow_resident_help", "HelpEstateAllowResident"); | 1934 | initHelpBtn("allow_resident_help", "HelpEstateAllowResident"); |
1942 | initHelpBtn("allow_group_help", "HelpEstateAllowGroup"); | 1935 | initHelpBtn("allow_group_help", "HelpEstateAllowGroup"); |
@@ -2105,9 +2098,6 @@ void LLPanelEstateInfo::commitEstateInfo() | |||
2105 | void LLPanelEstateInfo::setEstateFlags(U32 flags) | 2098 | void LLPanelEstateInfo::setEstateFlags(U32 flags) |
2106 | { | 2099 | { |
2107 | childSetValue("externally_visible_check", LLSD(flags & REGION_FLAGS_EXTERNALLY_VISIBLE ? TRUE : FALSE) ); | 2100 | childSetValue("externally_visible_check", LLSD(flags & REGION_FLAGS_EXTERNALLY_VISIBLE ? TRUE : FALSE) ); |
2108 | #if LL_ENABLE_MAINLAND_VISIBLE_CONTROL | ||
2109 | childSetValue("mainland_visible_check", LLSD(flags & REGION_FLAGS_MAINLAND_VISIBLE ? TRUE : FALSE) ); | ||
2110 | #endif | ||
2111 | childSetValue("fixed_sun_check", LLSD(flags & REGION_FLAGS_SUN_FIXED ? TRUE : FALSE) ); | 2101 | childSetValue("fixed_sun_check", LLSD(flags & REGION_FLAGS_SUN_FIXED ? TRUE : FALSE) ); |
2112 | childSetValue("allow_direct_teleport", LLSD(flags & REGION_FLAGS_ALLOW_DIRECT_TELEPORT ? TRUE : FALSE) ); | 2102 | childSetValue("allow_direct_teleport", LLSD(flags & REGION_FLAGS_ALLOW_DIRECT_TELEPORT ? TRUE : FALSE) ); |
2113 | childSetValue("deny_anonymous", LLSD(flags & REGION_FLAGS_DENY_ANONYMOUS ? TRUE : FALSE) ); | 2103 | childSetValue("deny_anonymous", LLSD(flags & REGION_FLAGS_DENY_ANONYMOUS ? TRUE : FALSE) ); |
@@ -2124,15 +2114,6 @@ U32 LLPanelEstateInfo::computeEstateFlags() | |||
2124 | { | 2114 | { |
2125 | flags |= REGION_FLAGS_EXTERNALLY_VISIBLE; | 2115 | flags |= REGION_FLAGS_EXTERNALLY_VISIBLE; |
2126 | } | 2116 | } |
2127 | #if LL_ENABLE_MAINLAND_VISIBLE_CONTROL | ||
2128 | // This flag is ignored by everything. 2006-11-17 Phoenix. | ||
2129 | if (childGetValue("mainland_visible_check").asBoolean()) | ||
2130 | { | ||
2131 | flags |= REGION_FLAGS_MAINLAND_VISIBLE; | ||
2132 | } | ||
2133 | #else | ||
2134 | flags |= REGION_FLAGS_MAINLAND_VISIBLE; | ||
2135 | #endif | ||
2136 | 2117 | ||
2137 | if (childGetValue("allow_direct_teleport").asBoolean()) | 2118 | if (childGetValue("allow_direct_teleport").asBoolean()) |
2138 | { | 2119 | { |