From 0ab140a071b30451e60692e4c0df31af66317ffd Mon Sep 17 00:00:00 2001 From: Siana Gearz Date: Sun, 13 Jan 2013 21:50:31 +0100 Subject: [PATCH] Potential permission fix --- indra/newview/llpreviewtexture.cpp | 4 +--- indra/newview/llpreviewtexture.h | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/indra/newview/llpreviewtexture.cpp b/indra/newview/llpreviewtexture.cpp index cfb542b2f..d86bac643 100644 --- a/indra/newview/llpreviewtexture.cpp +++ b/indra/newview/llpreviewtexture.cpp @@ -124,8 +124,7 @@ LLPreviewTexture::LLPreviewTexture( const LLRect& rect, const std::string& title, const LLUUID& asset_id, - BOOL copy_to_inv, - BOOL copyable) + BOOL copy_to_inv) : LLPreview( name, @@ -140,7 +139,6 @@ LLPreviewTexture::LLPreviewTexture( mLoadingFullImage( FALSE ), mShowKeepDiscard(FALSE), mCopyToInv(copy_to_inv), - mIsCopyable(copyable), mLastHeight(0), mLastWidth(0), mAspectRatio(0.f), diff --git a/indra/newview/llpreviewtexture.h b/indra/newview/llpreviewtexture.h index bb20af473..02dc4f94e 100644 --- a/indra/newview/llpreviewtexture.h +++ b/indra/newview/llpreviewtexture.h @@ -57,8 +57,7 @@ public: const LLRect& rect, const std::string& title, const LLUUID& asset_id, - BOOL copy_to_inv = FALSE, - BOOL copyable = TRUE); + BOOL copy_to_inv = FALSE); ~LLPreviewTexture(); virtual void draw();