From a595881dc06c8359faa731a0af2d8be7290daad1 Mon Sep 17 00:00:00 2001 From: MW Date: Mon, 30 Apr 2007 15:38:51 +0000 Subject: fixed the VS 2005 solution/ project files. and a couple of other small changes --- OpenSim.RegionServer/world/Avatar.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'OpenSim.RegionServer/world/Avatar.cs') diff --git a/OpenSim.RegionServer/world/Avatar.cs b/OpenSim.RegionServer/world/Avatar.cs index 4f13a4a..97ed78d 100644 --- a/OpenSim.RegionServer/world/Avatar.cs +++ b/OpenSim.RegionServer/world/Avatar.cs @@ -102,7 +102,7 @@ namespace OpenSim.world public static void SetupTemplate(string name) { - /*int i = 0; + int i = 0; FileInfo fInfo = new FileInfo(name); long numBytes = fInfo.Length; FileStream fStream = new FileStream(name, FileMode.Open, FileAccess.Read); @@ -110,12 +110,11 @@ namespace OpenSim.world byte[] data1 = br.ReadBytes((int)numBytes); br.Close(); fStream.Close(); - * */ - + libsecondlife.Packets.ObjectUpdatePacket.ObjectDataBlock objdata = new ObjectUpdatePacket.ObjectDataBlock(); // new libsecondlife.Packets.ObjectUpdatePacket.ObjectDataBlock(data1, ref i); SetDefaultPacketValues(objdata); - //objdata.ObjectData = data1; + objdata.TextureEntry = data1; objdata.UpdateFlags = 61 + (9 << 8) + (130 << 16) + (16 << 24); objdata.PathCurve = 16; objdata.ProfileCurve = 1; -- cgit v1.1