mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
Update svn properties, minor formatting cleanup.
Fix unreachable code due to typo in llDetectedGroup.
This commit is contained in:
@@ -937,7 +937,7 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||
EntityBase SensedObject = entityDetectedKey(number);
|
||||
if (SensedObject == null)
|
||||
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(0);
|
||||
}
|
||||
|
||||
@@ -360,10 +360,10 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||
IDynamicTextureManager textureManager = World.RequestModuleInterface<IDynamicTextureManager>();
|
||||
if (textureManager != null)
|
||||
{
|
||||
if (extraParams == String.Empty)
|
||||
{
|
||||
extraParams = "256";
|
||||
}
|
||||
if (extraParams == String.Empty)
|
||||
{
|
||||
extraParams = "256";
|
||||
}
|
||||
UUID createdTexture =
|
||||
textureManager.AddDynamicTextureData(World.RegionInfo.RegionID, m_host.UUID, contentType, data,
|
||||
extraParams, timer);
|
||||
@@ -387,10 +387,10 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||
IDynamicTextureManager textureManager = World.RequestModuleInterface<IDynamicTextureManager>();
|
||||
if (textureManager != null)
|
||||
{
|
||||
if (extraParams == String.Empty)
|
||||
{
|
||||
extraParams = "256";
|
||||
}
|
||||
if (extraParams == String.Empty)
|
||||
{
|
||||
extraParams = "256";
|
||||
}
|
||||
UUID createdTexture =
|
||||
textureManager.AddDynamicTextureData(World.RegionInfo.RegionID, m_host.UUID, contentType, data,
|
||||
extraParams, timer, true, (byte) alpha);
|
||||
|
||||
Reference in New Issue
Block a user