Also make prims send the proper position. I hate it when people comment

out things just because they're "not yet used". Grrrr.
avinationmerge
Melanie Thielker 2010-06-24 20:51:04 +02:00
parent cbca58401a
commit f186882c0f
1 changed files with 4 additions and 4 deletions

View File

@ -3266,12 +3266,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
msg.message = message.Substring(0, 1024); msg.message = message.Substring(0, 1024);
else else
msg.message = message; msg.message = message;
msg.dialog = (byte)19; // messgage from script ??? // dialog; msg.dialog = (byte)19; // MessageFromObject
msg.fromGroup = false;// fromGroup; msg.fromGroup = false;// fromGroup;
msg.offline = (byte)0; //offline; msg.offline = (byte)0; //offline;
msg.ParentEstateID = 0; //ParentEstateID; msg.ParentEstateID = World.RegionInfo.EstateSettings.EstateID;
msg.Position = Vector3.Zero;// new Vector3(m_host.AbsolutePosition); msg.Position = new Vector3(m_host.AbsolutePosition);
msg.RegionID = World.RegionInfo.RegionID.Guid;//RegionID.Guid; msg.RegionID = World.RegionInfo.RegionID.Guid;
msg.binaryBucket = Util.StringToBytes256(m_host.OwnerID.ToString()); msg.binaryBucket = Util.StringToBytes256(m_host.OwnerID.ToString());
if (m_TransferModule != null) if (m_TransferModule != null)