Add materials store null check into UuidGatherer code.
parent
eed15703ed
commit
371085546d
|
@ -232,6 +232,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
if (part.DynAttrs.ContainsStore("OpenSim", "Materials"))
|
if (part.DynAttrs.ContainsStore("OpenSim", "Materials"))
|
||||||
{
|
{
|
||||||
OSDMap materialsStore = part.DynAttrs.GetStore("OpenSim", "Materials");
|
OSDMap materialsStore = part.DynAttrs.GetStore("OpenSim", "Materials");
|
||||||
|
|
||||||
|
if (materialsStore == null)
|
||||||
|
return;
|
||||||
|
|
||||||
materialsStore.TryGetValue("Materials", out osdMaterials);
|
materialsStore.TryGetValue("Materials", out osdMaterials);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue