diff options
| author | Josh Bell <josh@lindenlab.com> | 2007-01-15 18:49:02 +0000 |
|---|---|---|
| committer | Josh Bell <josh@lindenlab.com> | 2007-01-15 18:49:02 +0000 |
| commit | aeb6d0c93c1122c1320f99c1a652a5e2f1d60d52 (patch) | |
| tree | 5aedb2a22e54d9c2c2fe9389d4ad6cebe891c5f1 /indra/newview/llselectmgr.cpp | |
| parent | dbf45ad4294a59c050982b5a417fe86272026454 (diff) | |
svn merge -r 56599:56738 svn+ssh://svn.lindenlab.com/svn/linden/branches/maintenance
Diffstat (limited to 'indra/newview/llselectmgr.cpp')
| -rw-r--r-- | indra/newview/llselectmgr.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llselectmgr.cpp b/indra/newview/llselectmgr.cpp index a2698763f0..8f4df36f59 100644 --- a/indra/newview/llselectmgr.cpp +++ b/indra/newview/llselectmgr.cpp @@ -3899,6 +3899,7 @@ void LLSelectMgr::sendAttach(U8 attachment_point) return; } + BOOL build_mode = gToolMgr->inEdit(); // Special case: Attach to default location for this object. if (0 == attachment_point) { @@ -3908,6 +3909,10 @@ void LLSelectMgr::sendAttach(U8 attachment_point) packObjectIDAndRotation, &attachment_point, SEND_ONLY_ROOTS ); + if (!build_mode) + { + deselectAll(); + } } else { @@ -3945,6 +3950,10 @@ void LLSelectMgr::sendAttach(U8 attachment_point) packObjectIDAndRotation, &attachment_point, SEND_ONLY_ROOTS ); + if (!build_mode) + { + deselectAll(); + } } } } |
