diff options
| -rw-r--r-- | indra/newview/llfloaterinventory.cpp | 6 | ||||
| -rw-r--r-- | indra/newview/skins/default/xui/en/floater_inventory.xml | 2 | 
2 files changed, 6 insertions, 2 deletions
| diff --git a/indra/newview/llfloaterinventory.cpp b/indra/newview/llfloaterinventory.cpp index db38fc0fb3..4a2e1913cd 100644 --- a/indra/newview/llfloaterinventory.cpp +++ b/indra/newview/llfloaterinventory.cpp @@ -107,10 +107,14 @@ LLInventoryPanel* LLFloaterInventory::getPanel()  // static  LLFloaterInventory* LLFloaterInventory::showAgentInventory()  { +	// Hack to generate semi-unique key for each inventory floater. +	static S32 instance_num = 0; +	instance_num = (instance_num + 1) % S32_MAX; +  	LLFloaterInventory* iv = NULL;  	if (!gAgent.cameraMouselook())  	{ -		iv = LLFloaterReg::showTypedInstance<LLFloaterInventory>("inventory", LLSD()); +		iv = LLFloaterReg::showTypedInstance<LLFloaterInventory>("inventory", LLSD(instance_num));  	}  	return iv;  } diff --git a/indra/newview/skins/default/xui/en/floater_inventory.xml b/indra/newview/skins/default/xui/en/floater_inventory.xml index dca1692e4a..ff9f0daee6 100644 --- a/indra/newview/skins/default/xui/en/floater_inventory.xml +++ b/indra/newview/skins/default/xui/en/floater_inventory.xml @@ -11,7 +11,7 @@   help_topic="inventory"   save_rect="true"   save_visibility="true" - single_instance="true" + single_instance="false"   title="INVENTORY"   width="467">      <floater.string | 
