Don't show controls if build tools are up

master
Rick Pasetto 2009-12-03 11:37:51 -08:00
parent 42fbb0abcd
commit 8752f020fc
1 changed files with 3 additions and 1 deletions

View File

@ -64,6 +64,8 @@
#include "llweb.h"
#include "llwindow.h"
#include "llfloatertools.h" // to enable hide if build tools are up
glh::matrix4f glh_get_current_modelview();
glh::matrix4f glh_get_current_projection();
@ -273,7 +275,7 @@ void LLPanelPrimMediaControls::updateShape()
LLViewerMediaImpl* media_impl = getTargetMediaImpl();
LLViewerObject* objectp = getTargetObject();
if(!media_impl)
if(!media_impl || gFloaterTools->getVisible())
{
setVisible(FALSE);
return;