Trivial fixes

This commit is contained in:
Siana Gearz
2011-10-05 01:20:34 +02:00
parent 6590172641
commit 4a14b75452
3 changed files with 2 additions and 3 deletions

View File

@@ -1432,7 +1432,7 @@ void LLAgentWearables::setWearableFinal( LLInventoryItem* new_item, LLWearable*
const LLWearableType::EType type = new_wearable->getType();
// Replace the old wearable with a new one.
llassert( new_item->getAssetUUID() == new_wearable->getID() );
llassert( new_item->getAssetUUID() == new_wearable->getAssetID() );
LLUUID old_item_id = mWearableEntry[ type ].mItemID;
mWearableEntry[ type ].mItemID = new_item->getUUID();
mWearableEntry[ type ].mWearable = new_wearable;

View File

@@ -2694,7 +2694,7 @@ void LLFloaterCustomize::generateVisualParamHints(LLViewerJointMesh* joint_mesh,
void LLFloaterCustomize::setWearable(LLWearableType::EType type, LLWearable* wearable, U32 perm_mask, BOOL is_complete)
{
llassert( type < WT_COUNT );
llassert( type < LLWearableType::WT_COUNT );
gSavedSettings.setU32("AvatarSex", (gAgentAvatarp->getSex() == SEX_MALE) );
LLPanelEditWearable* panel = mWearablePanelList[ type ];

View File

@@ -31,7 +31,6 @@
*/
#include "llviewerprecompiledheaders.h"
indra/newview/llfloatertools.cpp
#include "llfloatertools.h"