diff options
| author | Loren Shih <seraph@lindenlab.com> | 2010-06-15 17:11:01 -0400 | 
|---|---|---|
| committer | Loren Shih <seraph@lindenlab.com> | 2010-06-15 17:11:01 -0400 | 
| commit | 0be5ce0a595ee582ee2bb7a0091e0424f908ddea (patch) | |
| tree | 19bb42b14d3596abb4a53bbe07e0a6c56ff17cae /indra/newview | |
| parent | 8294f69ea38f52ae80fdb245d6045c8fba1dbb45 (diff) | |
EXT-7468 FIXED Remove all 2.1 COF debugging code
#ifdef'd a bunch of llinfos spam to not show up in release mode.  Removed some other legacy comments.
Diffstat (limited to 'indra/newview')
| -rw-r--r-- | indra/newview/llappearancemgr.cpp | 24 | ||||
| -rw-r--r-- | indra/newview/llinventorymodel.cpp | 6 | ||||
| -rw-r--r-- | indra/newview/llinventorypanel.cpp | 1 | ||||
| -rw-r--r-- | indra/newview/llpanelmaininventory.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/lltexglobalcolor.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/lltexlayerparams.cpp | 2 | 
6 files changed, 21 insertions, 16 deletions
| diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp index d60db17d82..3c267b3308 100644 --- a/indra/newview/llappearancemgr.cpp +++ b/indra/newview/llappearancemgr.cpp @@ -1283,8 +1283,9 @@ void LLAppearanceMgr::linkAll(const LLUUID& cat_uuid,  		const LLViewerInventoryCategory *cat = gInventory.getCategory(cat_uuid);  		const std::string cat_name = cat ? cat->getName() : "CAT NOT FOUND"; - -		llinfos << "Linking Item [ name:" << item->getName() << " UUID:" << item->getUUID() << " ] to Category [ name:" << cat_name << " UUID:" << cat_uuid << " ] " << llendl; // Seraph remove for 2.1 +#ifndef LL_RELEASE_FOR_DOWNLOAD +		llinfos << "Linking Item [ name:" << item->getName() << " UUID:" << item->getUUID() << " ] to Category [ name:" << cat_name << " UUID:" << cat_uuid << " ] " << llendl; +#endif  	}  } @@ -1353,13 +1354,24 @@ void LLAppearanceMgr::updateCOF(const LLUUID& category, bool append)  	llinfos << "creating LLUpdateAppearanceOnDestroy" << llendl;  	LLPointer<LLInventoryCallback> link_waiter = new LLUpdateAppearanceOnDestroy; -	llinfos << "Linking body items" << llendl; // Seraph remove for 2.1 +#ifndef LL_RELEASE_FOR_DOWNLOAD +	llinfos << "Linking body items" << llendl; +#endif  	linkAll(cof, body_items, link_waiter); -	llinfos << "Linking wear items" << llendl; // Seraph remove for 2.1 + +#ifndef LL_RELEASE_FOR_DOWNLOAD +	llinfos << "Linking wear items" << llendl; +#endif  	linkAll(cof, wear_items, link_waiter); -	llinfos << "Linking obj items" << llendl; // Seraph remove for 2.1 + +#ifndef LL_RELEASE_FOR_DOWNLOAD +	llinfos << "Linking obj items" << llendl; +#endif  	linkAll(cof, obj_items, link_waiter); -	llinfos << "Linking gesture items" << llendl; // Seraph remove for 2.1 + +#ifndef LL_RELEASE_FOR_DOWNLOAD +	llinfos << "Linking gesture items" << llendl; +#endif  	linkAll(cof, gest_items, link_waiter);  	// Add link to outfit if category is an outfit.  diff --git a/indra/newview/llinventorymodel.cpp b/indra/newview/llinventorymodel.cpp index 15760bf155..7c54dbcf74 100644 --- a/indra/newview/llinventorymodel.cpp +++ b/indra/newview/llinventorymodel.cpp @@ -1262,12 +1262,6 @@ void LLInventoryModel::addCategory(LLViewerInventoryCategory* category)  void LLInventoryModel::addItem(LLViewerInventoryItem* item)  { -	/* -	const LLViewerInventoryCategory* cat = gInventory.getCategory(item->getParentUUID()); // Seraph remove for 2.1 -	const std::string cat_name = cat ? cat->getName() : "CAT NOT FOUND"; // Seraph remove for 2.1 -	llinfos << "Added item [ name:" << item->getName() << " UUID:" << item->getUUID() << " type:" << item->getActualType() << " ] to folder [ name:" << cat_name << " uuid:" << item->getParentUUID() << " ]" << llendl; // Seraph remove for 2.1 -	*/ -  	llassert(item);  	if(item)  	{ diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp index 83c57d5bb2..e3d4df0d6d 100644 --- a/indra/newview/llinventorypanel.cpp +++ b/indra/newview/llinventorypanel.cpp @@ -782,7 +782,6 @@ void LLInventoryPanel::onSelectionChange(const std::deque<LLFolderViewItem*>& it  			fv->startRenamingSelectedItem();  		}  	} -	// Seraph - Put determineFolderType in here for ensemble typing?  }  void LLInventoryPanel::doToSelected(const LLSD& userdata) diff --git a/indra/newview/llpanelmaininventory.cpp b/indra/newview/llpanelmaininventory.cpp index 54d1b46016..9eece81861 100644 --- a/indra/newview/llpanelmaininventory.cpp +++ b/indra/newview/llpanelmaininventory.cpp @@ -604,7 +604,7 @@ void LLPanelMainInventory::toggleFindOptions()  		finder->openFloater();  		LLFloater* parent_floater = gFloaterView->getParentFloater(this); -		if (parent_floater) // Seraph: Fix this, shouldn't be null even for sidepanel +		if (parent_floater)  			parent_floater->addDependentFloater(mFinderHandle);  		// start background fetch of folders  		LLInventoryModelBackgroundFetch::instance().start(); diff --git a/indra/newview/lltexglobalcolor.cpp b/indra/newview/lltexglobalcolor.cpp index d7840fb435..347f8bf627 100644 --- a/indra/newview/lltexglobalcolor.cpp +++ b/indra/newview/lltexglobalcolor.cpp @@ -1,6 +1,6 @@  /**    * @file lltexlayerglobalcolor.cpp - * @brief SERAPH - ADD IN + * @brief Color for texture layers.   *   * $LicenseInfo:firstyear=2008&license=viewergpl$   *  diff --git a/indra/newview/lltexlayerparams.cpp b/indra/newview/lltexlayerparams.cpp index 35acf883c7..f2d1b5d032 100644 --- a/indra/newview/lltexlayerparams.cpp +++ b/indra/newview/lltexlayerparams.cpp @@ -1,6 +1,6 @@  /**    * @file lltexlayerparams.cpp - * @brief SERAPH - ADD IN + * @brief Texture layer parameters   *   * $LicenseInfo:firstyear=2002&license=viewergpl$   *  | 
