fix for crash because of recent changes in tool handleSelect() from Richard. SL-44935
parent
28435a0898
commit
65c038685f
|
|
@ -75,7 +75,11 @@ LLToolGrab::~LLToolGrab()
|
|||
// virtual
|
||||
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;
|
||||
gGrabBtnSpin = FALSE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue