Diff of /trunk/indra/newview/llviewerinventory.cpp
Parent Directory
|
Revision Log
|
Patch
| revision 137, Sun Mar 21 18:22:23 2010 UTC | revision 138, Fri Apr 30 20:03:50 2010 UTC | |
|---|---|---|
| # | Line 447 | Line 447 |
| 447 | ||
| 448 | bool LLViewerInventoryCategory::fetchDescendents() | bool LLViewerInventoryCategory::fetchDescendents() |
| 449 | { | { |
| 450 | static LLViewerRegion *last_region = NULL; | |
| 451 | ||
| 452 | if((VERSION_UNKNOWN == mVersion) | if((VERSION_UNKNOWN == mVersion) |
| 453 | && mDescendentsRequested.hasExpired()) //Expired check prevents multiple downloads. | && mDescendentsRequested.hasExpired()) //Expired check prevents multiple downloads. |
| 454 | { | { |
| # | Line 469 | Line 471 |
| 471 | } | } |
| 472 | else | else |
| 473 | { //Deprecated, but if we don't have a capability, use the old system. | { //Deprecated, but if we don't have a capability, use the old system. |
| 474 | if (gAgent.getRegion() != last_region) // Do not spam the log file. | |
| 475 | { | |
| 476 | llinfos << "WebFetchInventoryDescendents capability not found. Using deprecated UDP message." << llendl; | llinfos << "WebFetchInventoryDescendents capability not found. Using deprecated UDP message." << llendl; |
| 477 | last_region = gAgent.getRegion(); | |
| 478 | } | |
| 479 | LLMessageSystem* msg = gMessageSystem; | LLMessageSystem* msg = gMessageSystem; |
| 480 | msg->newMessage("FetchInventoryDescendents"); | msg->newMessage("FetchInventoryDescendents"); |
| 481 | msg->nextBlock("AgentData"); | msg->nextBlock("AgentData"); |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |

