Commits

nyx  committed 13112c1 Merge

Automated merge with ssh://hg.lindenlab.com/q/viewer-release/

  • Participants
  • Parent commits b4fd419, 655ca08

Comments (0)

Files changed (1)

File indra/newview/llsidepanelappearance.cpp

 			{
 				gAgentCamera.changeCameraToCustomizeAvatar();
 			}
+			if (mEditWearable && mEditWearable->getVisible())
+			{
+				LLWearable *wearable_ptr = mEditWearable->getWearable();
+				if (gAgentWearables.getWearableIndex(wearable_ptr) == LLAgentWearables::MAX_CLOTHING_PER_TYPE)
+				{
+					// we're no longer wearing the wearable we were last editing, switch back to outfit editor
+					showOutfitEditPanel();
+				}
+			}
 		}
 	}
 	else