aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/OptionalModules')
-rw-r--r--OpenSim/Region/OptionalModules/Materials/MaterialsModule.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/Materials/MaterialsModule.cs b/OpenSim/Region/OptionalModules/Materials/MaterialsModule.cs
index afb788b..5202bbc 100644
--- a/OpenSim/Region/OptionalModules/Materials/MaterialsModule.cs
+++ b/OpenSim/Region/OptionalModules/Materials/MaterialsModule.cs
@@ -216,7 +216,8 @@ namespace OpenSim.Region.OptionalModules.Materials
216 216
217 GetLegacyStoredMaterialsInPart(part); 217 GetLegacyStoredMaterialsInPart(part);
218 218
219 GetStoredMaterialInFace(part, te.DefaultTexture); 219 if (te.DefaultTexture != null)
220 GetStoredMaterialInFace(part, te.DefaultTexture);
220 221
221 foreach (Primitive.TextureEntryFace face in te.FaceTextures) 222 foreach (Primitive.TextureEntryFace face in te.FaceTextures)
222 { 223 {