diff options
Diffstat (limited to 'linden/indra')
-rw-r--r-- | linden/indra/newview/llfloateravatarpicker.cpp | 2 | ||||
-rw-r--r-- | linden/indra/newview/llfolderview.cpp | 2 | ||||
-rw-r--r-- | linden/indra/newview/llgroupnotify.cpp | 10 | ||||
-rw-r--r-- | linden/indra/newview/lltexturectrl.cpp | 6 | ||||
-rw-r--r-- | linden/indra/newview/llvoavatar.cpp | 4 |
5 files changed, 13 insertions, 11 deletions
diff --git a/linden/indra/newview/llfloateravatarpicker.cpp b/linden/indra/newview/llfloateravatarpicker.cpp index da1b9b7..216eea7 100644 --- a/linden/indra/newview/llfloateravatarpicker.cpp +++ b/linden/indra/newview/llfloateravatarpicker.cpp | |||
@@ -118,7 +118,7 @@ BOOL LLFloaterAvatarPicker::postBuild() | |||
118 | mInventoryPanel = getChild<LLInventoryPanel>("Inventory Panel"); | 118 | mInventoryPanel = getChild<LLInventoryPanel>("Inventory Panel"); |
119 | if(mInventoryPanel) | 119 | if(mInventoryPanel) |
120 | { | 120 | { |
121 | mInventoryPanel->setFilterTypes(0x1 << LLInventoryType::IT_CALLINGCARD); | 121 | mInventoryPanel->setFilterTypes(LLInventoryType::NIT_CALLCARD); |
122 | mInventoryPanel->setFollowsAll(); | 122 | mInventoryPanel->setFollowsAll(); |
123 | mInventoryPanel->setShowFolderState(LLInventoryFilter::SHOW_NON_EMPTY_FOLDERS); | 123 | mInventoryPanel->setShowFolderState(LLInventoryFilter::SHOW_NON_EMPTY_FOLDERS); |
124 | mInventoryPanel->openDefaultFolderForType(LLAssetType::AT_CALLINGCARD); | 124 | mInventoryPanel->openDefaultFolderForType(LLAssetType::AT_CALLINGCARD); |
diff --git a/linden/indra/newview/llfolderview.cpp b/linden/indra/newview/llfolderview.cpp index ba37fa4..cb9a379 100644 --- a/linden/indra/newview/llfolderview.cpp +++ b/linden/indra/newview/llfolderview.cpp | |||
@@ -4552,7 +4552,7 @@ BOOL LLInventoryFilter::isNotDefault() | |||
4552 | 4552 | ||
4553 | BOOL LLInventoryFilter::isActive() | 4553 | BOOL LLInventoryFilter::isActive() |
4554 | { | 4554 | { |
4555 | return mFilterOps.mFilterTypes != LLInventoryType::NIT_ALL | 4555 | return mFilterOps.mFilterTypes != LLInventoryType::NIT_ALL |
4556 | || mFilterSubString.size() | 4556 | || mFilterSubString.size() |
4557 | || mFilterOps.mPermissions != PERM_NONE | 4557 | || mFilterOps.mPermissions != PERM_NONE |
4558 | || mFilterOps.mMinDate != time_min() | 4558 | || mFilterOps.mMinDate != time_min() |
diff --git a/linden/indra/newview/llgroupnotify.cpp b/linden/indra/newview/llgroupnotify.cpp index 3f8ff3d..eafa06c 100644 --- a/linden/indra/newview/llgroupnotify.cpp +++ b/linden/indra/newview/llgroupnotify.cpp | |||
@@ -248,9 +248,13 @@ LLGroupNotifyBox::LLGroupNotifyBox(const std::string& subject, | |||
248 | { | 248 | { |
249 | addChild(new NoticeText(std::string("subjecttitle"),LLRect(x,y,x + LABEL_WIDTH,y - LINE_HEIGHT),std::string("Attached: "),LLFontGL::sSansSerif)); | 249 | addChild(new NoticeText(std::string("subjecttitle"),LLRect(x,y,x + LABEL_WIDTH,y - LINE_HEIGHT),std::string("Attached: "),LLFontGL::sSansSerif)); |
250 | 250 | ||
251 | LLUIImagePtr item_icon = get_item_icon(mInventoryOffer->mType, | 251 | |
252 | LLInventoryType::IT_TEXTURE, | 252 | LLAssetType::EType atype; |
253 | 0, FALSE); | 253 | LLInventoryType::EType itype; |
254 | atype = mInventoryOffer->mType; | ||
255 | itype = LLInventoryType::defaultForAssetType( atype ); | ||
256 | |||
257 | LLUIImagePtr item_icon = get_item_icon(atype, itype, 0, FALSE); | ||
254 | 258 | ||
255 | 259 | ||
256 | x += LABEL_WIDTH + HPAD; | 260 | x += LABEL_WIDTH + HPAD; |
diff --git a/linden/indra/newview/lltexturectrl.cpp b/linden/indra/newview/lltexturectrl.cpp index 382a4f3..6b84be4 100644 --- a/linden/indra/newview/lltexturectrl.cpp +++ b/linden/indra/newview/lltexturectrl.cpp | |||
@@ -237,11 +237,7 @@ LLFloaterTexturePicker::LLFloaterTexturePicker( | |||
237 | 237 | ||
238 | if(mInventoryPanel) | 238 | if(mInventoryPanel) |
239 | { | 239 | { |
240 | U32 filter_types = 0x0; | 240 | mInventoryPanel->setFilterTypes( LLInventoryType::NIT_IMAGE ); |
241 | filter_types |= 0x1 << LLInventoryType::IT_TEXTURE; | ||
242 | filter_types |= 0x1 << LLInventoryType::IT_SNAPSHOT; | ||
243 | |||
244 | mInventoryPanel->setFilterTypes(filter_types); | ||
245 | //mInventoryPanel->setFilterPermMask(getFilterPermMask()); //Commented out due to no-copy texture loss. | 241 | //mInventoryPanel->setFilterPermMask(getFilterPermMask()); //Commented out due to no-copy texture loss. |
246 | mInventoryPanel->setFilterPermMask(immediate_filter_perm_mask); | 242 | mInventoryPanel->setFilterPermMask(immediate_filter_perm_mask); |
247 | mInventoryPanel->setSelectCallback(onSelectionChange, this); | 243 | mInventoryPanel->setSelectCallback(onSelectionChange, this); |
diff --git a/linden/indra/newview/llvoavatar.cpp b/linden/indra/newview/llvoavatar.cpp index 327cd57..d41f72e 100644 --- a/linden/indra/newview/llvoavatar.cpp +++ b/linden/indra/newview/llvoavatar.cpp | |||
@@ -5716,7 +5716,9 @@ BOOL LLVOAvatar::loadMeshNodes() | |||
5716 | 5716 | ||
5717 | // llinfos << "Parsing mesh data for " << type << "..." << llendl; | 5717 | // llinfos << "Parsing mesh data for " << type << "..." << llendl; |
5718 | 5718 | ||
5719 | mesh->setColor( 0.8f, 0.8f, 0.8f, 1.0f ); | 5719 | // If this isn't set to white (1.0), avatars will *ALWAYS* be darker than their surroundings. |
5720 | // Do not touch!!! | ||
5721 | mesh->setColor( 1.0f, 1.0f, 1.0f, 1.0f ); | ||
5720 | 5722 | ||
5721 | LLPolyMesh *poly_mesh = NULL; | 5723 | LLPolyMesh *poly_mesh = NULL; |
5722 | 5724 | ||