aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMW2008-02-22 18:27:08 +0000
committerMW2008-02-22 18:27:08 +0000
commitb842ab3927a2ab8252fc624cf75933cd581a4dc1 (patch)
tree865a4fc039d6b17bb9b691047ba7c48b18219041 /OpenSim
parentBugfixes - wasn't counting threads right++ (diff)
downloadopensim-SC_OLD-b842ab3927a2ab8252fc624cf75933cd581a4dc1.zip
opensim-SC_OLD-b842ab3927a2ab8252fc624cf75933cd581a4dc1.tar.gz
opensim-SC_OLD-b842ab3927a2ab8252fc624cf75933cd581a4dc1.tar.bz2
opensim-SC_OLD-b842ab3927a2ab8252fc624cf75933cd581a4dc1.tar.xz
fixed it so that the different types of trees now work (show up in the clients), problem is that we don't seem to be persisting PrimitiveBaseShape.State in the datastore, so after restart of server, they all turn back into pine trees.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs
index 9f6af4b..2cedc81 100644
--- a/OpenSim/Region/ClientStack/ClientView.cs
+++ b/OpenSim/Region/ClientStack/ClientView.cs
@@ -2079,7 +2079,11 @@ namespace OpenSim.Region.ClientStack
2079 SetDefaultPrimPacketValues(objupdate); 2079 SetDefaultPrimPacketValues(objupdate);
2080 objupdate.UpdateFlags = flags; 2080 objupdate.UpdateFlags = flags;
2081 SetPrimPacketShapeData(objupdate, primShape); 2081 SetPrimPacketShapeData(objupdate, primShape);
2082 2082 if ((primShape.PCode == 111) || (primShape.PCode == 255))
2083 {
2084 objupdate.Data = new byte[1];
2085 objupdate.Data[0] = primShape.State;
2086 }
2083 return objupdate; 2087 return objupdate;
2084 } 2088 }
2085 2089