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
This commit is contained in:
committed by
Latif Khalifa
parent
07850410b5
commit
9ff1c8b879
@@ -504,7 +504,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');
|
||||
}
|
||||
|
||||
|
||||
@@ -826,4 +826,4 @@ std::string terse_F32_to_string(F32 f)
|
||||
r.erase(0, 1);
|
||||
}
|
||||
return r;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user