diff options
author | Dr Scofield | 2008-09-08 10:28:59 +0000 |
---|---|---|
committer | Dr Scofield | 2008-09-08 10:28:59 +0000 |
commit | 3f9cc28103c632a030ce8ab1cda3659acc1f2e66 (patch) | |
tree | e93464d1c0178a58f9f3f716c7bec7c252a07f2f /OpenSim/Region/Environment/Scenes/InnerScene.cs | |
parent | Use older ExpectedException attribute format. Previously tests were failing o... (diff) | |
download | opensim-SC-3f9cc28103c632a030ce8ab1cda3659acc1f2e66.zip opensim-SC-3f9cc28103c632a030ce8ab1cda3659acc1f2e66.tar.gz opensim-SC-3f9cc28103c632a030ce8ab1cda3659acc1f2e66.tar.bz2 opensim-SC-3f9cc28103c632a030ce8ab1cda3659acc1f2e66.tar.xz |
fix: warnings from libomv
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/InnerScene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/InnerScene.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs index e61fb19..53b0a38 100644 --- a/OpenSim/Region/Environment/Scenes/InnerScene.cs +++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs | |||
@@ -1509,6 +1509,9 @@ namespace OpenSim.Region.Environment.Scenes | |||
1509 | // * Asset/DRM permission bit "modify" is enabled | 1509 | // * Asset/DRM permission bit "modify" is enabled |
1510 | //use CanEditObjectPosition | 1510 | //use CanEditObjectPosition |
1511 | 1511 | ||
1512 | // libomv will complain about PrimFlags.JointWheel being | ||
1513 | // deprecated, so we | ||
1514 | #pragma warning disable 0612 | ||
1512 | if (IncludeInSearch && m_parentScene.ExternalChecks.ExternalChecksCanEditObject(objid, user)) | 1515 | if (IncludeInSearch && m_parentScene.ExternalChecks.ExternalChecksCanEditObject(objid, user)) |
1513 | { | 1516 | { |
1514 | obj.ParentGroup.RootPart.AddFlag(PrimFlags.JointWheel); | 1517 | obj.ParentGroup.RootPart.AddFlag(PrimFlags.JointWheel); |
@@ -1517,6 +1520,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1517 | { | 1520 | { |
1518 | obj.ParentGroup.RootPart.RemFlag(PrimFlags.JointWheel); | 1521 | obj.ParentGroup.RootPart.RemFlag(PrimFlags.JointWheel); |
1519 | } | 1522 | } |
1523 | #pragma warning restore 0612 | ||
1520 | } | 1524 | } |
1521 | 1525 | ||
1522 | /// <summary> | 1526 | /// <summary> |