diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/OptionalModules/Materials/MaterialsDemoModule.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Materials/MaterialsDemoModule.cs b/OpenSim/Region/OptionalModules/Materials/MaterialsDemoModule.cs index e7b8928..be2d8da 100644 --- a/OpenSim/Region/OptionalModules/Materials/MaterialsDemoModule.cs +++ b/OpenSim/Region/OptionalModules/Materials/MaterialsDemoModule.cs | |||
@@ -590,6 +590,9 @@ namespace OpenSim.Region.OptionalModules.MaterialsDemoModule | |||
590 | if (part.DynAttrs.ContainsStore("OpenSim", "Materials")) | 590 | if (part.DynAttrs.ContainsStore("OpenSim", "Materials")) |
591 | { | 591 | { |
592 | OSDMap materialsStore = part.DynAttrs.GetStore("OpenSim", "Materials"); | 592 | OSDMap materialsStore = part.DynAttrs.GetStore("OpenSim", "Materials"); |
593 | if (materialsStore == null) | ||
594 | return; | ||
595 | |||
593 | materialsStore.TryGetValue("Materials", out osdMaterials); | 596 | materialsStore.TryGetValue("Materials", out osdMaterials); |
594 | } | 597 | } |
595 | 598 | ||