diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-11 14:18:54 +0000 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-11 14:18:54 +0000 |
commit | 03d7153e557cf0021cc44dde3310caca2df76b8f (patch) | |
tree | 61790822d9d1616a122b31bf8e138352e34362f7 /indra | |
parent | 4307d45a30324636cb8f1bb4f2634c2d5570f7f4 (diff) |
CID-67
Checker: FORWARD_NULL
Function: LLFloaterTools::updatePopup(LLCoordGL, unsigned int)
File: /indra/newview/llfloatertools.cpp
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llfloatertools.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfloatertools.cpp b/indra/newview/llfloatertools.cpp index 4edd09b02c..e2b083a29b 100644 --- a/indra/newview/llfloatertools.cpp +++ b/indra/newview/llfloatertools.cpp @@ -666,8 +666,8 @@ void LLFloaterTools::updatePopup(LLCoordGL center, MASK mask) if (mCheckCopyCenters) mCheckCopyCenters ->setVisible( create_visible ); if (mCheckCopyRotates) mCheckCopyRotates ->setVisible( create_visible ); - if (mCheckCopyCenters) mCheckCopyCenters->setEnabled( mCheckCopySelection->get() ); - if (mCheckCopyRotates) mCheckCopyRotates->setEnabled( mCheckCopySelection->get() ); + if (mCheckCopyCenters && mCheckCopySelection) mCheckCopyCenters->setEnabled( mCheckCopySelection->get() ); + if (mCheckCopyRotates && mCheckCopySelection) mCheckCopyRotates->setEnabled( mCheckCopySelection->get() ); // Land buttons BOOL land_visible = (tool == LLToolBrushLand::getInstance() || tool == LLToolSelectLand::getInstance() ); |