diff options
-rw-r--r-- | ChangeLog.txt | 9 | ||||
-rw-r--r-- | linden/indra/newview/llvoiceclient.cpp | 15 |
2 files changed, 23 insertions, 1 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index a86a271..51a0794 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt | |||
@@ -200,6 +200,15 @@ | |||
200 | modified: linden/indra/develop.py | 200 | modified: linden/indra/develop.py |
201 | 201 | ||
202 | 202 | ||
203 | 2009-11-27 Armin Weatherwax <Armin.Weatherwax@gmail.com> | ||
204 | |||
205 | * Fixed log spam about missing ParcelVoiceInfoRequest capability. | ||
206 | SNOW-66 fix by Armin. | ||
207 | SNOW-250 fix by Pixel Gausman and Aleric Inglewood. | ||
208 | |||
209 | modified: linden/indra/develop.py | ||
210 | |||
211 | |||
203 | 2009-11-26 Jacek Antonelli <jacek.antonelli@gmail.com> | 212 | 2009-11-26 Jacek Antonelli <jacek.antonelli@gmail.com> |
204 | 213 | ||
205 | * Reverted "Updated primbackup from latest meerkat svn (r246)" | 214 | * Reverted "Updated primbackup from latest meerkat svn (r246)" |
diff --git a/linden/indra/newview/llvoiceclient.cpp b/linden/indra/newview/llvoiceclient.cpp index 94407ed..7a41510 100644 --- a/linden/indra/newview/llvoiceclient.cpp +++ b/linden/indra/newview/llvoiceclient.cpp | |||
@@ -1560,6 +1560,7 @@ void LLVoiceClient::stateMachine() | |||
1560 | } | 1560 | } |
1561 | 1561 | ||
1562 | // Check for parcel boundary crossing | 1562 | // Check for parcel boundary crossing |
1563 | if(mVoiceEnabled) | ||
1563 | { | 1564 | { |
1564 | LLViewerRegion *region = gAgent.getRegion(); | 1565 | LLViewerRegion *region = gAgent.getRegion(); |
1565 | LLParcel *parcel = LLViewerParcelMgr::getInstance()->getAgentParcel(); | 1566 | LLParcel *parcel = LLViewerParcelMgr::getInstance()->getAgentParcel(); |
@@ -1590,7 +1591,19 @@ void LLVoiceClient::stateMachine() | |||
1590 | } | 1591 | } |
1591 | else | 1592 | else |
1592 | { | 1593 | { |
1593 | LL_WARNS("Voice") << "region doesn't have ParcelVoiceInfoRequest capability. This is normal for a short time after teleporting, but bad if it persists for very long." << LL_ENDL; | 1594 | static int count = 0; |
1595 | static int count2 = 0; | ||
1596 | static int num = 1; | ||
1597 | ++count; | ||
1598 | if (count % num == 0) | ||
1599 | { | ||
1600 | LL_DEBUGS("Voice") << "region doesn't have ParcelVoiceInfoRequest capability. This is normal for a short time after teleporting, but bad if it persists for very long (" << count << ")." << LL_ENDL; | ||
1601 | if (num < 1000 && ++count2 == 10) | ||
1602 | { | ||
1603 | num *= 10; | ||
1604 | count2 = 0; | ||
1605 | } | ||
1606 | } | ||
1594 | } | 1607 | } |
1595 | } | 1608 | } |
1596 | } | 1609 | } |