diff options
author | Jacek Antonelli | 2008-09-28 17:21:23 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-28 17:21:46 -0500 |
commit | 31e7c77a411d94bc87f0232588b339149bb29a49 (patch) | |
tree | 49e487700e91713e620e4d33f20b7f7afb5a2fa9 /linden/indra/newview/llselectmgr.cpp | |
parent | Second Life viewer sources 1.21.2-RC (diff) | |
download | meta-impy-31e7c77a411d94bc87f0232588b339149bb29a49.zip meta-impy-31e7c77a411d94bc87f0232588b339149bb29a49.tar.gz meta-impy-31e7c77a411d94bc87f0232588b339149bb29a49.tar.bz2 meta-impy-31e7c77a411d94bc87f0232588b339149bb29a49.tar.xz |
Second Life viewer sources 1.21.3-RC
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llselectmgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llselectmgr.cpp b/linden/indra/newview/llselectmgr.cpp index ebfdd39..78b921b 100644 --- a/linden/indra/newview/llselectmgr.cpp +++ b/linden/indra/newview/llselectmgr.cpp | |||
@@ -1102,7 +1102,7 @@ void LLSelectMgr::getGrid(LLVector3& origin, LLQuaternion &rotation, LLVector3 & | |||
1102 | switch (mSelectedObjects->mSelectType) | 1102 | switch (mSelectedObjects->mSelectType) |
1103 | { | 1103 | { |
1104 | case SELECT_TYPE_ATTACHMENT: | 1104 | case SELECT_TYPE_ATTACHMENT: |
1105 | if (first_object) | 1105 | if (first_object && first_object->getRootEdit()->mDrawable.notNull()) |
1106 | { | 1106 | { |
1107 | // this means this object *has* to be an attachment | 1107 | // this means this object *has* to be an attachment |
1108 | LLXform* attachment_point_xform = first_object->getRootEdit()->mDrawable->mXform.getParent(); | 1108 | LLXform* attachment_point_xform = first_object->getRootEdit()->mDrawable->mXform.getParent(); |