Fixed crash in BVHDecoder - ReadBytesUntilNull was reading until newline instead of null

Fixed crash in PrimMesher - Profile::Copy was not copying correctly
Fixed crash in PrmiMesher - SculptMap::ScaleImage was disposing live SKBitmap's
This commit is contained in:
nooperation
2025-03-12 23:43:00 -04:00
parent 6425cf630b
commit ccfa54524b
3 changed files with 13 additions and 3 deletions

View File

@@ -181,7 +181,7 @@ namespace OpenMetaverse
for (var j = i; j < data.Length; j++)
{
char spot = Convert.ToChar(data[j]);
if (spot == '\n')
if (spot == '\0')
{
endpos = j;
break;