summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Yap <none@none>2013-12-11 14:29:52 -0500
committerJonathan Yap <none@none>2013-12-11 14:29:52 -0500
commit97d9eee4ffc56123656abfe46db140bd1acca685 (patch)
tree7f6029a40123bf3f52c29d68badd1649e47d2568
parent81d1d427f194c969031c334151df0dda231331b8 (diff)
OPEN-113 Use better way of testing for stub that will not impact TPVs.
-rwxr-xr-xindra/newview/llfloatermodelpreview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp
index 1699fb4e8d..855836af7a 100755
--- a/indra/newview/llfloatermodelpreview.cpp
+++ b/indra/newview/llfloatermodelpreview.cpp
@@ -535,7 +535,7 @@ BOOL LLFloaterModelPreview::postBuild()
mUploadBtn = getChild<LLButton>("ok_btn");
mCalculateBtn = getChild<LLButton>("calculate_btn");
- if (LLConvexDecomposition::isFunctional())
+ if (LLConvexDecomposition::getInstance() != NULL)
{
mCalculateBtn->setClickedCallback(boost::bind(&LLFloaterModelPreview::onClickCalculateBtn, this));