Update svn properties, formatting cleanup.

0.6.0-stable
Jeff Ames 2008-09-23 23:14:00 +00:00
parent 1aab81e235
commit 3f79e6b3e7
7 changed files with 22 additions and 22 deletions

View File

@ -397,8 +397,8 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory
if (rdata.userAppearance != null)
{
modified = true;
Rest.AvatarServices.UpdateUserAppearance(rdata.userProfile.ID, rdata.userAppearance);
modified = true;
Rest.AvatarServices.UpdateUserAppearance(rdata.userProfile.ID, rdata.userAppearance);
}
if (created)

View File

@ -248,8 +248,8 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory
private void DoPut(AssetRequestData rdata)
{
bool modified = false;
bool created = false;
bool modified = false;
bool created = false;
Rest.Log.DebugFormat("{0} REST Asset handler, Method = <{1}> ENTRY", MsgId, rdata.method);
@ -269,7 +269,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory
AssetBase asset = Rest.AssetServices.GetAsset(uuid, false);
modified = (asset != null);
created = !modified;
created = !modified;
asset = new AssetBase();
asset.FullID = uuid;
@ -283,7 +283,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory
if (asset.ID != rdata.Parameters[0])
{
Rest.Log.WarnFormat("{0} URI and payload disagree on UUID U:{1} vs P:{2}",
MsgId, rdata.Parameters[0], asset.ID);
MsgId, rdata.Parameters[0], asset.ID);
}
Rest.AssetServices.AddAsset(asset);
@ -323,8 +323,8 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory
private void DoPost(AssetRequestData rdata)
{
bool modified = false;
bool created = false;
bool modified = false;
bool created = false;
Rest.Log.DebugFormat("{0} REST Asset handler, Method = <{1}> ENTRY", MsgId, rdata.method);
@ -347,7 +347,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory
AssetBase asset = Rest.AssetServices.GetAsset(uuid, false);
modified = (asset != null);
created = !modified;
created = !modified;
asset = new AssetBase();
asset.FullID = uuid;

View File

@ -5286,7 +5286,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
break;
case PacketType.RezScript:
m_log.DebugFormat("[AMW] RezScript");
m_log.DebugFormat("[AMW] RezScript");
//Console.WriteLine(Pack.ToString());
RezScriptPacket rezScriptx = (RezScriptPacket)Pack;

View File

@ -612,7 +612,7 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
// TODO: add group support!
//
if(part.OwnerID != editorID)
if (part.OwnerID != editorID)
return false;
return GenericObjectPermission(editorID, objectID, false);

View File

@ -1201,9 +1201,9 @@ namespace OpenSim.Region.Environment.Scenes
if (part != null)
{
if (!ExternalChecks.ExternalChecksCanEditObjectInventory(part.UUID, remoteClient.AgentId))
{
return;
}
{
return;
}
TaskInventoryItem currentItem = part.GetInventoryItem(itemID);
@ -1296,10 +1296,10 @@ System.Console.WriteLine("Item asset {0}, request asset {1}", prevItem.AssetID.T
SceneObjectPart part = GetSceneObjectPart(localID);
if (part != null)
{
if (!ExternalChecks.ExternalChecksCanEditObjectInventory(part.UUID, remoteClient.AgentId))
{
return;
}
if (!ExternalChecks.ExternalChecksCanEditObjectInventory(part.UUID, remoteClient.AgentId))
{
return;
}
part.ParentGroup.AddInventoryItem(remoteClient, localID, item, copyID);
// TODO: set this to "true" when scripts in inventory have persistent state to fire on_rez

View File

@ -730,11 +730,11 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
c.Value = c.Value.Insert(dotIndex, "0");
c.Value = "new LSL_Types.LSLFloat("+c.Value+")";
}
else if("LSL_Types.LSLInteger" == c.Type)
else if ("LSL_Types.LSLInteger" == c.Type)
{
c.Value = "new LSL_Types.LSLInteger("+c.Value+")";
}
else if("LSL_Types.LSLString" == c.Type)
else if ("LSL_Types.LSLString" == c.Type)
{
c.Value = "new LSL_Types.LSLString(\""+c.Value+"\")";
}

View File

@ -730,11 +730,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
c.Value = c.Value.Insert(dotIndex, "0");
c.Value = "new LSL_Types.LSLFloat("+c.Value+")";
}
else if("LSL_Types.LSLInteger" == c.Type)
else if ("LSL_Types.LSLInteger" == c.Type)
{
c.Value = "new LSL_Types.LSLInteger("+c.Value+")";
}
else if("LSL_Types.LSLString" == c.Type)
else if ("LSL_Types.LSLString" == c.Type)
{
c.Value = "new LSL_Types.LSLString(\""+c.Value+"\")";
}