mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
Formatting cleanup.
This commit is contained in:
@@ -75,7 +75,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
|
||||
{
|
||||
if (script.StartsWith("//MRM:C#"))
|
||||
{
|
||||
if(m_scene.GetSceneObjectPart(localID).OwnerID != m_scene.RegionInfo.MasterAvatarAssignedUUID)
|
||||
if (m_scene.GetSceneObjectPart(localID).OwnerID != m_scene.RegionInfo.MasterAvatarAssignedUUID)
|
||||
return;
|
||||
|
||||
try
|
||||
@@ -221,7 +221,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
|
||||
string[] lines = Script.Split(new string[] {"\n"}, StringSplitOptions.RemoveEmptyEntries);
|
||||
foreach (string s in lines)
|
||||
{
|
||||
if(s.StartsWith("//@DEPENDS:"))
|
||||
if (s.StartsWith("//@DEPENDS:"))
|
||||
{
|
||||
libraries.Add(s.Replace("//@DEPENDS:", ""));
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
|
||||
{
|
||||
add
|
||||
{
|
||||
if(!_OnTouchActive)
|
||||
if (!_OnTouchActive)
|
||||
{
|
||||
GetSOP().Flags |= PrimFlags.Touch;
|
||||
_OnTouchActive = true;
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace OpenSim
|
||||
}
|
||||
}
|
||||
|
||||
if(e.Sender is IObject)
|
||||
if (e.Sender is IObject)
|
||||
{
|
||||
// Ignore
|
||||
}
|
||||
@@ -61,4 +61,4 @@ namespace OpenSim
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -130,7 +130,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
|
||||
|
||||
private void HandleChatPacket(OSChatMessage chat)
|
||||
{
|
||||
if(string.IsNullOrEmpty(chat.Message))
|
||||
if (string.IsNullOrEmpty(chat.Message))
|
||||
return;
|
||||
|
||||
// Object?
|
||||
|
||||
Reference in New Issue
Block a user