aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.txt24
-rw-r--r--linden/indra/newview/llfloateravatarpicker.cpp2
-rw-r--r--linden/indra/newview/llfolderview.cpp2
-rw-r--r--linden/indra/newview/llgroupnotify.cpp10
-rw-r--r--linden/indra/newview/lltexturectrl.cpp6
-rw-r--r--linden/indra/newview/llvoavatar.cpp4
6 files changed, 37 insertions, 11 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt
index aa683a5..4e74ac3 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -5,8 +5,27 @@
5 This fixes folders always showing when filtering. 5 This fixes folders always showing when filtering.
6 6
7 7
82009-01-17 Jacek Antonelli <jacek.antonelli@gmail.com>
9
10 * linden/indra/newview/llfolderview.cpp:
11 Replaced some 0xffffffff's with NIT_ALL.
12
13
82009-01-16 Jacek Antonelli <jacek.antonelli@gmail.com> 142009-01-16 Jacek Antonelli <jacek.antonelli@gmail.com>
9 15
16 * linden/indra/newview/llgroupnotify.cpp:
17 Fixed group notice popup showing wrong item type.
18 Attachment was showing texture icon regardless of type.
19
20
21 * linden/indra/newview/llfloateravatarpicker.cpp:
22 Fixed Resident chooser not showing calling cards.
23
24
25 * linden/indra/newview/lltexturectrl.cpp:
26 Fixed texture picker not showing textures.
27
28
10 * linden/indra/newview/llinventoryview.cpp: 29 * linden/indra/newview/llinventoryview.cpp:
11 Cosmetic code cleanup in LLInventoryViewFinder. 30 Cosmetic code cleanup in LLInventoryViewFinder.
12 31
@@ -30,6 +49,11 @@
30 49
312009-01-15 Jacek Antonelli <jacek.antonelli@gmail.com> 502009-01-15 Jacek Antonelli <jacek.antonelli@gmail.com>
32 51
52 * linden/indra/newview/llvoavatar.cpp:
53 VWR-8012: Avatars rendered too dark.
54 Patch posted by CG Linden.
55
56
33 * linden/indra/newview/llfolderview.cpp: 57 * linden/indra/newview/llfolderview.cpp:
34 Fixed folders expanding when Show Filters is opened. 58 Fixed folders expanding when Show Filters is opened.
35 59
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
4553BOOL LLInventoryFilter::isActive() 4553BOOL 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