From ab483c6e7c3cbee72dc9cf85c48e5ee48cc57e2c Mon Sep 17 00:00:00 2001
From: Thickbrick Sleaford <thickbrick.sleaford@gmail.com>
Date: Sat, 9 Apr 2011 17:10:09 -0400
Subject: [PATCH] STORM-1147: fix skin-tight clothing

---
 doc/contributions.txt             | 1 +
 indra/newview/llviewertexture.cpp | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/doc/contributions.txt b/doc/contributions.txt
index c381c5ec799..f95f4ce5134 100644
--- a/doc/contributions.txt
+++ b/doc/contributions.txt
@@ -793,6 +793,7 @@ Thickbrick Sleaford
 	VWR-13483
 	VWR-13947
 	VWR-24420
+    STORM-1147
 Thraxis Epsilon
 	SVC-371
 	VWR-383
diff --git a/indra/newview/llviewertexture.cpp b/indra/newview/llviewertexture.cpp
index cc635f71f92..f5fb074992a 100644
--- a/indra/newview/llviewertexture.cpp
+++ b/indra/newview/llviewertexture.cpp
@@ -1469,7 +1469,7 @@ BOOL LLViewerFetchedTexture::createTexture(S32 usename/*= 0*/)
 	}
 	setActive() ;
 
-	if (!mForceToSaveRawImage)
+	if (!needsToSaveRawImage())
 	{
 		mNeedsAux = FALSE;
 		destroyRawImage();
-- 
GitLab