mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
a few cosmetic changes
This commit is contained in:
@@ -59,7 +59,7 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||
public OSHttpRequest request;
|
||||
}
|
||||
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
//private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
/// <summary>
|
||||
/// Control whether requests will be processed asynchronously.
|
||||
|
||||
@@ -26,27 +26,20 @@
|
||||
*/
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Net;
|
||||
using System.Reflection;
|
||||
using System.IO;
|
||||
using System.Web;
|
||||
using Mono.Addins;
|
||||
using log4net;
|
||||
using Nini.Config;
|
||||
using OpenMetaverse;
|
||||
using OpenMetaverse.StructuredData;
|
||||
using OpenMetaverse.Messages.Linden;
|
||||
using OpenSim.Framework;
|
||||
using OpenSim.Framework.Servers;
|
||||
using OpenSim.Framework.Servers.HttpServer;
|
||||
using OpenSim.Region.Framework.Interfaces;
|
||||
using OpenSim.Region.Framework.Scenes;
|
||||
using OpenSim.Services.Interfaces;
|
||||
using Caps = OpenSim.Framework.Capabilities.Caps;
|
||||
using OSD = OpenMetaverse.StructuredData.OSD;
|
||||
using OSDMap = OpenMetaverse.StructuredData.OSDMap;
|
||||
using OpenSim.Framework.Capabilities;
|
||||
using ExtraParamType = OpenMetaverse.ExtraParamType;
|
||||
|
||||
namespace OpenSim.Region.ClientStack.Linden
|
||||
|
||||
@@ -2783,9 +2783,11 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
for(int i = 0; i < partList.Length; ++i)
|
||||
{
|
||||
SceneObjectPart part = partList[i];
|
||||
if (part is null)
|
||||
continue;
|
||||
|
||||
if (removeScripts)
|
||||
part.Inventory.SendReleaseScriptsControl();
|
||||
part.Inventory?.SendReleaseScriptsControl();
|
||||
|
||||
if (part.KeyframeMotion is not null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user