diff options
author | Nyx Linden <nyx@lindenlab.com> | 2013-02-28 23:32:00 +0000 |
---|---|---|
committer | Nyx Linden <nyx@lindenlab.com> | 2013-02-28 23:32:00 +0000 |
commit | fa3f91e454ac82beffe4aca3789445e8ddf2b27f (patch) | |
tree | fce32d315a8bb876f4e9a3de11a925cfc08b9f57 | |
parent | 96438194cd138dba58a24d2bef35cd72932ab62a (diff) |
SH-3798 FIX avatar skins look dull
Wearable parsing error caused last texture in some assets to fail to parse.
Parser now does not throw an error if the wearable does not end in a newline
-rwxr-xr-x | indra/llappearance/llwearable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llappearance/llwearable.cpp b/indra/llappearance/llwearable.cpp index 9fb8b7749f..4028c1dfad 100755 --- a/indra/llappearance/llwearable.cpp +++ b/indra/llappearance/llwearable.cpp @@ -455,7 +455,7 @@ BOOL LLWearable::getNextPopulatedLine(std::istream& input_stream, char* buffer, } while (input_stream.good() && buffer[0]=='\0'); - return input_stream.good(); + return (buffer[0] != '\0'); } |