fix for crash because of recent changes in tool handleSelect() from Richard. SL-44935

master
Aaron Brashears 2007-06-11 22:11:02 +00:00
parent 28435a0898
commit 65c038685f
1 changed files with 5 additions and 1 deletions

View File

@ -75,7 +75,11 @@ LLToolGrab::~LLToolGrab()
// virtual // virtual
void LLToolGrab::handleSelect() void LLToolGrab::handleSelect()
{ {
gFloaterTools->setStatusText("Drag to move objects, Ctrl to lift, Ctrl-Shift to spin"); if(gFloaterTools)
{
// viewer can crash during startup if we don't check.
gFloaterTools->setStatusText("Drag to move objects, Ctrl to lift, Ctrl-Shift to spin");
}
gGrabBtnVertical = FALSE; gGrabBtnVertical = FALSE;
gGrabBtnSpin = FALSE; gGrabBtnSpin = FALSE;
} }