aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/Caps
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/Caps')
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs
index 92f5a2c..16178e6 100644
--- a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs
+++ b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs
@@ -1012,7 +1012,15 @@ namespace OpenSim.Region.ClientStack.Linden
1012 1012
1013 textureEntry.FaceTextures[face] = f; 1013 textureEntry.FaceTextures[face] = f;
1014 } 1014 }
1015 pbs.TextureEntry = textureEntry.GetBytes(); 1015
1016 if(face_list.Count > 0)
1017 {
1018 int last = face_list.Count - 1;
1019 // we do need a better te compacting code
1020 textureEntry.DefaultTexture = textureEntry.FaceTextures[last];
1021 textureEntry.FaceTextures[last] = null;
1022 pbs.TextureEntry = textureEntry.GetBytes(last);
1023 }
1016 1024
1017 Vector3 position = inner_instance_list["position"].AsVector3(); 1025 Vector3 position = inner_instance_list["position"].AsVector3();
1018 Quaternion rotation = inner_instance_list["rotation"].AsQuaternion(); 1026 Quaternion rotation = inner_instance_list["rotation"].AsQuaternion();