Thank you, HomerHorwitz, for a patch that add PERMISSION_CONTROL_CAMERA

Fixes Mantis #1861
This commit is contained in:
Melanie Thielker
2008-07-31 12:25:18 +00:00
parent b3e19359d9
commit 244ad2e614
5 changed files with 7 additions and 0 deletions

View File

@@ -2559,6 +2559,7 @@ namespace OpenSim.Region.ScriptEngine.Common
// When attached, certain permissions are implicit if requested from owner
int implicitPerms = BuiltIn_Commands_BaseClass.PERMISSION_TAKE_CONTROLS |
BuiltIn_Commands_BaseClass.PERMISSION_TRIGGER_ANIMATION |
BuiltIn_Commands_BaseClass.PERMISSION_CONTROL_CAMERA |
BuiltIn_Commands_BaseClass.PERMISSION_ATTACH;
if ((perm & (~implicitPerms)) == 0) // Requested only implicit perms
@@ -2576,6 +2577,7 @@ namespace OpenSim.Region.ScriptEngine.Common
{
// When agent is sitting, certain permissions are implicit if requested from sitting agent
int implicitPerms = BuiltIn_Commands_BaseClass.PERMISSION_TRIGGER_ANIMATION |
BuiltIn_Commands_BaseClass.PERMISSION_CONTROL_CAMERA |
BuiltIn_Commands_BaseClass.PERMISSION_TRACK_CAMERA;
if ((perm & (~implicitPerms)) == 0) // Requested only implicit perms