diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules')
-rw-r--r-- | OpenSim/Region/Environment/Modules/ContentManagementSystem/BeamMetaEntity.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/ContentManagementSystem/BeamMetaEntity.cs b/OpenSim/Region/Environment/Modules/ContentManagementSystem/BeamMetaEntity.cs index b27bbc0..301de56 100644 --- a/OpenSim/Region/Environment/Modules/ContentManagementSystem/BeamMetaEntity.cs +++ b/OpenSim/Region/Environment/Modules/ContentManagementSystem/BeamMetaEntity.cs | |||
@@ -78,7 +78,7 @@ namespace OpenSim.Region.Environment.Modules.ContentManagement | |||
78 | //Scale size of particles to distance objects are apart (for better visibility) | 78 | //Scale size of particles to distance objects are apart (for better visibility) |
79 | Vector3 FromPos = From.GetWorldPosition(); | 79 | Vector3 FromPos = From.GetWorldPosition(); |
80 | Vector3 ToPos = From.GetWorldPosition(); | 80 | Vector3 ToPos = From.GetWorldPosition(); |
81 | UUID toUUID = To.UUID; | 81 | // UUID toUUID = To.UUID; |
82 | float distance = (float) (Math.Sqrt(Math.Pow(FromPos.X-ToPos.X, 2) + | 82 | float distance = (float) (Math.Sqrt(Math.Pow(FromPos.X-ToPos.X, 2) + |
83 | Math.Pow(FromPos.X-ToPos.Y, 2) + | 83 | Math.Pow(FromPos.X-ToPos.Y, 2) + |
84 | Math.Pow(FromPos.X-ToPos.Z, 2) | 84 | Math.Pow(FromPos.X-ToPos.Z, 2) |
diff --git a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs index d92f33a..3b4819b 100644 --- a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs +++ b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs | |||
@@ -312,6 +312,9 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions | |||
312 | // Remove any of the objectFlags that are temporary. These will get added back if appropriate | 312 | // Remove any of the objectFlags that are temporary. These will get added back if appropriate |
313 | // in the next bit of code | 313 | // in the next bit of code |
314 | 314 | ||
315 | // libomv will moan about PrimFlags.ObjectYouOfficer being | ||
316 | // deprecated | ||
317 | #pragma warning disable 0612 | ||
315 | objflags &= (uint) | 318 | objflags &= (uint) |
316 | ~(PrimFlags.ObjectCopy | // Tells client you can copy the object | 319 | ~(PrimFlags.ObjectCopy | // Tells client you can copy the object |
317 | PrimFlags.ObjectModify | // tells client you can modify the object | 320 | PrimFlags.ObjectModify | // tells client you can modify the object |
@@ -322,6 +325,7 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions | |||
322 | PrimFlags.ObjectOwnerModify | // Tells client that you're the owner of the object | 325 | PrimFlags.ObjectOwnerModify | // Tells client that you're the owner of the object |
323 | PrimFlags.ObjectYouOfficer // Tells client that you've got group object editing permission. Used when ObjectGroupOwned is set | 326 | PrimFlags.ObjectYouOfficer // Tells client that you've got group object editing permission. Used when ObjectGroupOwned is set |
324 | ); | 327 | ); |
328 | #pragma warning restore 0612 | ||
325 | 329 | ||
326 | // Creating the three ObjectFlags options for this method to choose from. | 330 | // Creating the three ObjectFlags options for this method to choose from. |
327 | // Customize the OwnerMask | 331 | // Customize the OwnerMask |