aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Framework/Scenes/UuidGatherer.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/UuidGatherer.cs b/OpenSim/Region/Framework/Scenes/UuidGatherer.cs
index 4e5fb8e..8f69ce3 100644
--- a/OpenSim/Region/Framework/Scenes/UuidGatherer.cs
+++ b/OpenSim/Region/Framework/Scenes/UuidGatherer.cs
@@ -232,6 +232,10 @@ namespace OpenSim.Region.Framework.Scenes
232 if (part.DynAttrs.ContainsStore("OpenSim", "Materials")) 232 if (part.DynAttrs.ContainsStore("OpenSim", "Materials"))
233 { 233 {
234 OSDMap materialsStore = part.DynAttrs.GetStore("OpenSim", "Materials"); 234 OSDMap materialsStore = part.DynAttrs.GetStore("OpenSim", "Materials");
235
236 if (materialsStore == null)
237 return;
238
235 materialsStore.TryGetValue("Materials", out osdMaterials); 239 materialsStore.TryGetValue("Materials", out osdMaterials);
236 } 240 }
237 241