summaryrefslogtreecommitdiff
path: root/indra/newview/llwearable.cpp
diff options
context:
space:
mode:
authorNeal Orman <nyx@lindenlab.com>2009-10-26 17:14:12 +0000
committerNeal Orman <nyx@lindenlab.com>2009-10-26 17:14:12 +0000
commitb07f5e6c4d5c5ff9e3f58b98565e548d1e2563a5 (patch)
tree9cfc5e22992fae3719b91424d60dbe74fa623a71 /indra/newview/llwearable.cpp
parentadd9298c1e4d74bdb5503722a6c795ea6f30fa11 (diff)
EXT-1816 Wearable changes do not persist
issue was in the isDirty() function - one case where images in the wearable get added caused the function to return FALSE when it should have returned TRUE. Now wearables that you change the images of will be detected as dirty and will save properly. Code reviewed by Bigpapi.
Diffstat (limited to 'indra/newview/llwearable.cpp')
-rw-r--r--indra/newview/llwearable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llwearable.cpp b/indra/newview/llwearable.cpp
index 3bbf4c2c47..3fe02088c4 100644
--- a/indra/newview/llwearable.cpp
+++ b/indra/newview/llwearable.cpp
@@ -544,7 +544,7 @@ BOOL LLWearable::isDirty() const
else
{
// image found in current image list but not saved image list
- return FALSE;
+ return TRUE;
}
}
}