

Public Member Functions | |
| void | setVisualParam (S32 param_id, F32 weight) |
| void | setColor (LLVOAvatar::ETextureIndex te, const LLColor4 &color) |
| void | setTexture (LLVOAvatar::ETextureIndex te, const LLUUID &asset_id) |
| void | setWearable (EWearableType type) |
| virtual void | undo () |
| virtual void | redo () |
| void | applyUndoRedo () |
Static Public Member Functions | |
| static LLUndoAction * | create () |
Protected Member Functions | |
| LLUndoWearable () | |
| virtual | ~LLUndoWearable () |
Protected Attributes | |
| LLAppearance | mAppearance |
Definition at line 90 of file llfloatercustomize.cpp.
| LLUndoWearable::LLUndoWearable | ( | ) | [inline, protected] |
Definition at line 97 of file llfloatercustomize.cpp.
Referenced by create().

| virtual LLUndoWearable::~LLUndoWearable | ( | ) | [inline, protected, virtual] |
Definition at line 98 of file llfloatercustomize.cpp.
| static LLUndoAction* LLUndoWearable::create | ( | ) | [inline, static] |
Definition at line 101 of file llfloatercustomize.cpp.
References LLUndoWearable().
Referenced by LLPanelEditWearable::LLPanelEditWearable().


Definition at line 2380 of file llfloatercustomize.cpp.
References LLAppearance::addParam(), LLAppearance::clear(), and mAppearance.
Referenced by LLPanelEditWearable::addVisualParamToUndoBuffer().


| void LLUndoWearable::setColor | ( | LLVOAvatar::ETextureIndex | te, | |
| const LLColor4 & | color | |||
| ) |
Definition at line 2392 of file llfloatercustomize.cpp.
References LLAppearance::addParam(), LLAppearance::clear(), gAgent, LLAgent::getAvatarObject(), LLVisualParam::getID(), LLCharacter::getVisualParam(), mAppearance, LLColor4::mV, LLVOAvatar::teToColorParams(), VX, VY, and VZ.
Referenced by LLPanelEditWearable::onColorCommit().


| void LLUndoWearable::setTexture | ( | LLVOAvatar::ETextureIndex | te, | |
| const LLUUID & | asset_id | |||
| ) |
Definition at line 2386 of file llfloatercustomize.cpp.
References LLAppearance::addTexture(), LLAppearance::clear(), and mAppearance.
Referenced by LLPanelEditWearable::onTextureCommit().


| void LLUndoWearable::setWearable | ( | EWearableType | type | ) |
Definition at line 2423 of file llfloatercustomize.cpp.
References LLAppearance::addParam(), LLAppearance::addTexture(), LLAppearance::clear(), gAgent, LLAgent::getAvatarObject(), LLCharacter::getFirstVisualParam(), LLVisualParam::getGroup(), LLViewerImage::getID(), LLVisualParam::getID(), LLCharacter::getNextVisualParam(), LLViewerObject::getTEImage(), LLVOAvatar::getTEWearableType(), LLViewerVisualParam::getWearableType(), LLVisualParam::getWeight(), mAppearance, S32, LLVOAvatar::TEX_NUM_ENTRIES, and VISUAL_PARAM_GROUP_TWEAKABLE.
Referenced by LLPanelEditWearable::onBtnRandomize().


| virtual void LLUndoWearable::undo | ( | ) | [inline, virtual] |
Implements LLUndoBuffer::LLUndoAction.
Definition at line 108 of file llfloatercustomize.cpp.
References applyUndoRedo().

| virtual void LLUndoWearable::redo | ( | ) | [inline, virtual] |
Implements LLUndoBuffer::LLUndoAction.
Definition at line 109 of file llfloatercustomize.cpp.
References applyUndoRedo().

| void LLUndoWearable::applyUndoRedo | ( | ) |
Definition at line 2457 of file llfloatercustomize.cpp.
References gAgent, LLAgent::getAvatarObject(), LLViewerImage::getID(), LLViewerImageList::getImage(), LLCharacter::getSex(), LLViewerObject::getTEImage(), LLCharacter::getVisualParamWeight(), gImageList, gSavedSettings, i, LLUUID::isNull(), mAppearance, LLAppearance::mParamMap, LLAppearance::mTextures, LLVisualParamHint::requestHintUpdates(), S32, LLAgent::sendAgentSetAppearance(), LLVOAvatar::setLocTexTE(), LLControlGroup::setU32(), LLCharacter::setVisualParamWeight(), SEX_MALE, LLVOAvatar::TEX_NUM_ENTRIES, TRUE, LLFloaterCustomize::updateScrollingPanelList(), LLVOAvatar::updateSexDependentLayerSets(), and LLVOAvatar::updateVisualParams().
Referenced by redo(), and undo().


LLAppearance LLUndoWearable::mAppearance [protected] |
Definition at line 94 of file llfloatercustomize.cpp.
Referenced by applyUndoRedo(), setColor(), setTexture(), setVisualParam(), and setWearable().
1.5.5