Merge remote-tracking branch 'aleric/master'

This commit is contained in:
Latif Khalifa
2013-01-15 18:36:51 +01:00
3 changed files with 43 additions and 10 deletions

View File

@@ -1688,8 +1688,8 @@ void LLFloaterSnapshot::Impl::freezeTime(bool on)
LLSnapshotLivePreview* previewp = getPreviewView();
if (on)
{
// stop all mouse events at fullscreen preview layer
sInstance->getParent()->setMouseOpaque(TRUE);
// Stop all mouse events at fullscreen preview layer.
gSnapshotFloaterView->setMouseOpaque(TRUE);
// can see and interact with fullscreen preview now
if (previewp)
@@ -1716,7 +1716,8 @@ void LLFloaterSnapshot::Impl::freezeTime(bool on)
}
else // turning off freeze frame mode
{
sInstance->getParent()->setMouseOpaque(FALSE);
gSnapshotFloaterView->setMouseOpaque(FALSE);
if (previewp)
{
previewp->setVisible(FALSE);

View File

@@ -348,7 +348,7 @@ bool LLWLDayCycle::hasReferencesTo(const LLWLParamKey& keyframe) const
void LLWLDayCycle::removeReferencesTo(const LLWLParamKey& keyframe)
{
lldebugs << "Removing references to key frame " << keyframe.toLLSD() << llendl;
F32 keytime;
F32 keytime = 0.f; // Avoid compiler warning.
bool might_exist;
do
{