mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
In materials module, if a texture entry somehow has no default entry then don't try to extract materials data rather than throw an exception
This commit is contained in:
committed by
Justin Clark-Casey
parent
2cdef143c4
commit
76ee671dc6
@@ -216,7 +216,8 @@ namespace OpenSim.Region.OptionalModules.Materials
|
||||
|
||||
GetLegacyStoredMaterialsInPart(part);
|
||||
|
||||
GetStoredMaterialInFace(part, te.DefaultTexture);
|
||||
if (te.DefaultTexture != null)
|
||||
GetStoredMaterialInFace(part, te.DefaultTexture);
|
||||
|
||||
foreach (Primitive.TextureEntryFace face in te.FaceTextures)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user