summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2012-05-18 17:54:10 -0700
committerTodd Stinson <stinson@lindenlab.com>2012-05-18 17:54:10 -0700
commit8bc499f13c6c92acfe1453c554bdb5bf32a005e2 (patch)
tree9e4bbc43552584075e102c58213376d8a5df5f9b /indra/newview
parent532777f2876392051573c64f6a0bef81ffc3172e (diff)
Altering the grab functionality so that characters cannot be grabbed.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/lltoolgrab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lltoolgrab.cpp b/indra/newview/lltoolgrab.cpp
index 192f83d064..9907da0f0e 100644
--- a/indra/newview/lltoolgrab.cpp
+++ b/indra/newview/lltoolgrab.cpp
@@ -239,7 +239,7 @@ BOOL LLToolGrab::handleObjectHit(const LLPickInfo& info)
}
}
- else if( !objectp->permMove() || objectp->isPermanentEnforced())
+ else if( objectp->flagCharacter() || !objectp->permMove() || objectp->isPermanentEnforced())
{
// if mouse is over a physical object without move permission, show feedback if user tries to move it.
mMode = GRAB_LOCKED;