Update svn properties, minor formatting cleanup.

Fix unreachable code due to typo in llDetectedGroup.
0.6.0-stable
Jeff Ames 2008-09-10 05:17:28 +00:00
parent 03672c35e4
commit b9b996be38
7 changed files with 22 additions and 22 deletions

View File

@ -3405,7 +3405,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
List<string> msg = new List<string>(); List<string> msg = new List<string>();
if(handlerGenericMessage != null) if (handlerGenericMessage != null)
{ {
string method = Util.FieldToString(gmpack.MethodData.Method); string method = Util.FieldToString(gmpack.MethodData.Method);
foreach (GenericMessagePacket.ParamListBlock block in gmpack.ParamList) foreach (GenericMessagePacket.ParamListBlock block in gmpack.ParamList)

View File

@ -937,7 +937,7 @@ namespace OpenSim.Region.ScriptEngine.Common
EntityBase SensedObject = entityDetectedKey(number); EntityBase SensedObject = entityDetectedKey(number);
if (SensedObject == null) if (SensedObject == null)
return new LSL_Types.LSLInteger(0); return new LSL_Types.LSLInteger(0);
if (m_host.GroupID == m_host.ParentGroup.RootPart.GroupID) ; if (m_host.GroupID == m_host.ParentGroup.RootPart.GroupID)
return new LSL_Types.LSLInteger(1); return new LSL_Types.LSLInteger(1);
return new LSL_Types.LSLInteger(0); return new LSL_Types.LSLInteger(0);
} }

View File

@ -360,10 +360,10 @@ namespace OpenSim.Region.ScriptEngine.Common
IDynamicTextureManager textureManager = World.RequestModuleInterface<IDynamicTextureManager>(); IDynamicTextureManager textureManager = World.RequestModuleInterface<IDynamicTextureManager>();
if (textureManager != null) if (textureManager != null)
{ {
if (extraParams == String.Empty) if (extraParams == String.Empty)
{ {
extraParams = "256"; extraParams = "256";
} }
UUID createdTexture = UUID createdTexture =
textureManager.AddDynamicTextureData(World.RegionInfo.RegionID, m_host.UUID, contentType, data, textureManager.AddDynamicTextureData(World.RegionInfo.RegionID, m_host.UUID, contentType, data,
extraParams, timer); extraParams, timer);
@ -387,10 +387,10 @@ namespace OpenSim.Region.ScriptEngine.Common
IDynamicTextureManager textureManager = World.RequestModuleInterface<IDynamicTextureManager>(); IDynamicTextureManager textureManager = World.RequestModuleInterface<IDynamicTextureManager>();
if (textureManager != null) if (textureManager != null)
{ {
if (extraParams == String.Empty) if (extraParams == String.Empty)
{ {
extraParams = "256"; extraParams = "256";
} }
UUID createdTexture = UUID createdTexture =
textureManager.AddDynamicTextureData(World.RegionInfo.RegionID, m_host.UUID, contentType, data, textureManager.AddDynamicTextureData(World.RegionInfo.RegionID, m_host.UUID, contentType, data,
extraParams, timer, true, (byte) alpha); extraParams, timer, true, (byte) alpha);

View File

@ -229,10 +229,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
IDynamicTextureManager textureManager = World.RequestModuleInterface<IDynamicTextureManager>(); IDynamicTextureManager textureManager = World.RequestModuleInterface<IDynamicTextureManager>();
if (textureManager != null) if (textureManager != null)
{ {
if (extraParams == String.Empty) if (extraParams == String.Empty)
{ {
extraParams = "256"; extraParams = "256";
} }
UUID createdTexture = UUID createdTexture =
textureManager.AddDynamicTextureData(World.RegionInfo.RegionID, m_host.UUID, contentType, data, textureManager.AddDynamicTextureData(World.RegionInfo.RegionID, m_host.UUID, contentType, data,
extraParams, timer); extraParams, timer);
@ -262,10 +262,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
IDynamicTextureManager textureManager = World.RequestModuleInterface<IDynamicTextureManager>(); IDynamicTextureManager textureManager = World.RequestModuleInterface<IDynamicTextureManager>();
if (textureManager != null) if (textureManager != null)
{ {
if (extraParams == String.Empty) if (extraParams == String.Empty)
{ {
extraParams = "256"; extraParams = "256";
} }
UUID createdTexture = UUID createdTexture =
textureManager.AddDynamicTextureData(World.RegionInfo.RegionID, m_host.UUID, contentType, data, textureManager.AddDynamicTextureData(World.RegionInfo.RegionID, m_host.UUID, contentType, data,
extraParams, timer, true, (byte) alpha); extraParams, timer, true, (byte) alpha);

View File

@ -129,7 +129,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
{ {
m_Fields[field.Name]=field; m_Fields[field.Name]=field;
if(field.FieldType is LSL_Types.list) // ref type, copy if (field.FieldType is LSL_Types.list) // ref type, copy
{ {
LSL_Types.list v = (LSL_Types.list)field.GetValue(this); LSL_Types.list v = (LSL_Types.list)field.GetValue(this);
Object[] data = new Object[v.Data.Length]; Object[] data = new Object[v.Data.Length];