From 8787690ccc7edf88033c923d6b36f2142ea35ada Mon Sep 17 00:00:00 2001
From: Josh Bell <josh@lindenlab.com>
Date: Fri, 18 Jan 2008 19:55:25 +0000
Subject: [PATCH] svn merge -r77476:77484
 svn+ssh://svn.lindenlab.com/svn/linden/branches/sculptcopy

Shortcut for QAR-223 into release. Fix for DEV-8761/SEC-17 Ability to Access Sculpted Prim Textures from Database without owning actual sculpt texture, allowing for people to "steal" sculpts.
---
 indra/newview/llpanelobject.cpp | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/indra/newview/llpanelobject.cpp b/indra/newview/llpanelobject.cpp
index 2463e62d7f8..a57993820f1 100644
--- a/indra/newview/llpanelobject.cpp
+++ b/indra/newview/llpanelobject.cpp
@@ -1095,10 +1095,12 @@ void LLPanelObject::getState( )
 			{
 				mLabelSculptType->setEnabled(TRUE);
 			}
-
-			
 		}
 	}
+	else
+	{
+		mSculptTextureRevert = LLUUID::null;
+	}
 
 	
 	//----------------------------------------------------------------------------
-- 
GitLab