try to match viewer protocol changes on test feature

This commit is contained in:
UbitUmarov
2023-12-01 23:32:25 +00:00
parent b7dc478c41
commit 602569e5f7
3 changed files with 370 additions and 72 deletions

View File

@@ -1554,6 +1554,8 @@ namespace OpenSim.Framework
int ovrlen = data[indx++];
ovrlen += data[indx++] << 8;
overrides[i].data = Utils.BytesToString(data,indx, ovrlen);
if(overrides[i].data.StartsWith("{\"asset")) // ignore old test data
return;
indx += ovrlen;
}
RenderMaterials ??= new Primitive.RenderMaterials();