diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llagent.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/linden/indra/newview/llagent.cpp b/linden/indra/newview/llagent.cpp index 85c268b..ab51120 100644 --- a/linden/indra/newview/llagent.cpp +++ b/linden/indra/newview/llagent.cpp | |||
@@ -4937,6 +4937,8 @@ void LLAgent::sendAnimationRequests(LLDynamicArray<LLUUID> &anim_ids, EAnimReque | |||
4937 | num_valid_anims++; | 4937 | num_valid_anims++; |
4938 | } | 4938 | } |
4939 | 4939 | ||
4940 | msg->nextBlockFast(_PREHASH_PhysicalAvatarEventList); | ||
4941 | msg->addBinaryDataFast(_PREHASH_TypeData, NULL, 0); | ||
4940 | if (num_valid_anims) | 4942 | if (num_valid_anims) |
4941 | { | 4943 | { |
4942 | sendReliableMessage(); | 4944 | sendReliableMessage(); |
@@ -4960,6 +4962,8 @@ void LLAgent::sendAnimationRequest(const LLUUID &anim_id, EAnimRequest request) | |||
4960 | msg->addUUIDFast(_PREHASH_AnimID, (anim_id) ); | 4962 | msg->addUUIDFast(_PREHASH_AnimID, (anim_id) ); |
4961 | msg->addBOOLFast(_PREHASH_StartAnim, (request == ANIM_REQUEST_START) ? TRUE : FALSE); | 4963 | msg->addBOOLFast(_PREHASH_StartAnim, (request == ANIM_REQUEST_START) ? TRUE : FALSE); |
4962 | 4964 | ||
4965 | msg->nextBlockFast(_PREHASH_PhysicalAvatarEventList); | ||
4966 | msg->addBinaryDataFast(_PREHASH_TypeData, NULL, 0); | ||
4963 | sendReliableMessage(); | 4967 | sendReliableMessage(); |
4964 | } | 4968 | } |
4965 | 4969 | ||
@@ -6773,7 +6777,7 @@ void LLAgent::removeWearable( EWearableType type ) | |||
6773 | if( old_wearable->isDirty() ) | 6777 | if( old_wearable->isDirty() ) |
6774 | { | 6778 | { |
6775 | // Bring up view-modal dialog: Save changes? Yes, No, Cancel | 6779 | // Bring up view-modal dialog: Save changes? Yes, No, Cancel |
6776 | gViewerWindow->alertXml("RemoveWearableSave", LLAgent::onRemoveWearableDialog, (void*)(S32)type ); | 6780 | gViewerWindow->alertXml("WearableSave", LLAgent::onRemoveWearableDialog, (void*)(S32)type ); |
6777 | return; | 6781 | return; |
6778 | } | 6782 | } |
6779 | else | 6783 | else |
@@ -7003,7 +7007,7 @@ void LLAgent::setWearable( LLInventoryItem* new_item, LLWearable* new_wearable ) | |||
7003 | if( old_wearable->isDirty() ) | 7007 | if( old_wearable->isDirty() ) |
7004 | { | 7008 | { |
7005 | // Bring up modal dialog: Save changes? Yes, No, Cancel | 7009 | // Bring up modal dialog: Save changes? Yes, No, Cancel |
7006 | gViewerWindow->alertXml( "SetWearableSave", LLAgent::onSetWearableDialog, | 7010 | gViewerWindow->alertXml( "WearableSave", LLAgent::onSetWearableDialog, |
7007 | new LLSetWearableData( new_item->getUUID(), new_wearable )); | 7011 | new LLSetWearableData( new_item->getUUID(), new_wearable )); |
7008 | return; | 7012 | return; |
7009 | } | 7013 | } |