Default all available items to be included in new outfits
This commit is contained in:
@@ -62,9 +62,9 @@ LLMakeOutfitDialog::LLMakeOutfitDialog(bool modal) : LLModalDialog(LLStringUtil:
|
||||
else
|
||||
{
|
||||
bool enabled = gAgentWearables.getWearableCount((LLWearableType::EType)i); // TODO: MULTI-WEARABLE
|
||||
bool selected = enabled && (LLWearableType::WT_SHIRT <= i); // only select clothing by default
|
||||
//bool selected = enabled && (LLWearableType::WT_SHIRT <= i); // only select clothing by default
|
||||
childSetEnabled(name, enabled);
|
||||
childSetValue(name, selected);
|
||||
childSetValue(name, enabled);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -81,6 +81,7 @@ LLMakeOutfitDialog::LLMakeOutfitDialog(bool modal) : LLModalDialog(LLStringUtil:
|
||||
std::string name = std::string("checkbox_") + attachment->getName();
|
||||
mCheckBoxList.push_back(std::make_pair(name, attachment_pt));
|
||||
childSetEnabled(name, object_attached);
|
||||
childSetValue(name, object_attached);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user