From ce043c5141dde0ffed39d548bf680885a73e2908 Mon Sep 17 00:00:00 2001 From: dahlia Date: Wed, 17 Apr 2013 22:41:12 -0700 Subject: Allow changes to TextureEntry to propagate to viewers when MaterialID changes --- OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'OpenSim/Region/Framework') diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 93d4da0..0e85b87 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs @@ -4571,6 +4571,8 @@ namespace OpenSim.Region.Framework.Scenes if (oldFace.TextureID != newFace.TextureID) changeFlags |= Changed.TEXTURE; + if (oldFace.MaterialID != newFace.MaterialID) + changeFlags |= Changed.TEXTURE; // Max change, skip the rest of testing if (changeFlags == (Changed.TEXTURE | Changed.COLOR)) -- cgit v1.1