aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/OptionalModules/Materials/MaterialsModule.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Materials/MaterialsModule.cs b/OpenSim/Region/OptionalModules/Materials/MaterialsModule.cs
index 5202bbc..7b2a34d 100644
--- a/OpenSim/Region/OptionalModules/Materials/MaterialsModule.cs
+++ b/OpenSim/Region/OptionalModules/Materials/MaterialsModule.cs
@@ -218,6 +218,10 @@ namespace OpenSim.Region.OptionalModules.Materials
218 218
219 if (te.DefaultTexture != null) 219 if (te.DefaultTexture != null)
220 GetStoredMaterialInFace(part, te.DefaultTexture); 220 GetStoredMaterialInFace(part, te.DefaultTexture);
221 else
222 m_log.WarnFormat(
223 "[Materials]: Default texture for part {0} (part of object {1)) in {2} unexpectedly null. Ignoring.",
224 part.Name, part.ParentGroup.Name, m_scene.Name);
221 225
222 foreach (Primitive.TextureEntryFace face in te.FaceTextures) 226 foreach (Primitive.TextureEntryFace face in te.FaceTextures)
223 { 227 {