Added ShowSimChannel debug setting to display sim channel information in the status bar.
This commit is contained in:
@@ -860,6 +860,17 @@ This should be as low as possible, but too low may break functionality</string>
|
|||||||
<key>Value</key>
|
<key>Value</key>
|
||||||
<integer>1</integer>
|
<integer>1</integer>
|
||||||
</map>
|
</map>
|
||||||
|
<key>ShowSimChannel</key>
|
||||||
|
<map>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>Show the channel information for the current sim in the status bar</string>
|
||||||
|
<key>Persist</key>
|
||||||
|
<integer>1</integer>
|
||||||
|
<key>Type</key>
|
||||||
|
<string>Boolean</string>
|
||||||
|
<key>Value</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
</map>
|
||||||
<key>MoyFastMiniMap</key>
|
<key>MoyFastMiniMap</key>
|
||||||
<map>
|
<map>
|
||||||
<key>Comment</key>
|
<key>Comment</key>
|
||||||
|
|||||||
@@ -517,6 +517,8 @@ void LLStatusBar::refresh()
|
|||||||
pos_x, pos_y, pos_z,
|
pos_x, pos_y, pos_z,
|
||||||
region->getSimAccessString().c_str());
|
region->getSimAccessString().c_str());
|
||||||
}
|
}
|
||||||
|
static LLCachedControl<bool> show_channel("ShowSimChannel");
|
||||||
|
if (show_channel && !gLastVersionChannel.empty()) location_name += " - " + gLastVersionChannel;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user