Skip to content
Snippets Groups Projects
Commit 1590f187 authored by Palmer's avatar Palmer
Browse files

Fixing merge borkasaurs.

parent 85488f54
No related branches found
No related tags found
No related merge requests found
...@@ -92,7 +92,7 @@ static void on_new_single_inventory_upload_complete( ...@@ -92,7 +92,7 @@ static void on_new_single_inventory_upload_complete(
LLSD args; LLSD args;
args["AMOUNT"] = llformat("%d", upload_price); args["AMOUNT"] = llformat("%d", upload_price);
LLNotifications::instance().add("UploadPayment", args); LLNotificationsUtil::add("UploadPayment", args);
} }
// Actually add the upload to viewer inventory // Actually add the upload to viewer inventory
...@@ -157,12 +157,12 @@ static void on_new_single_inventory_upload_complete( ...@@ -157,12 +157,12 @@ static void on_new_single_inventory_upload_complete(
// Show the preview panel for textures and sounds to let // Show the preview panel for textures and sounds to let
// user know that the image (or snapshot) arrived intact. // user know that the image (or snapshot) arrived intact.
LLFloaterInventory* view = LLFloaterInventory::getActiveInventory(); LLInventoryPanel* panel = LLInventoryPanel::getActiveInventoryPanel();
if ( view ) if ( panel )
{ {
LLFocusableElement* focus = gFocusMgr.getKeyboardFocus(); LLFocusableElement* focus = gFocusMgr.getKeyboardFocus();
view->getPanel()->setSelection( panel->setSelection(
server_response["new_inventory_item"].asUUID(), server_response["new_inventory_item"].asUUID(),
TAKE_FOCUS_NO); TAKE_FOCUS_NO);
...@@ -172,7 +172,7 @@ static void on_new_single_inventory_upload_complete( ...@@ -172,7 +172,7 @@ static void on_new_single_inventory_upload_complete(
(LLFilePicker::instance().getFileCount() <= (LLFilePicker::instance().getFileCount() <=
FILE_COUNT_DISPLAY_THRESHOLD) ) FILE_COUNT_DISPLAY_THRESHOLD) )
{ {
view->getPanel()->openSelected(); panel->openSelected();
} }
// restore keyboard focus // restore keyboard focus
...@@ -775,7 +775,7 @@ class LLNewAgentInventoryVariablePriceResponder::Impl ...@@ -775,7 +775,7 @@ class LLNewAgentInventoryVariablePriceResponder::Impl
args["REASON"] = reason; args["REASON"] = reason;
LLNotifications::instance().add("CannotUploadReason", args); LLNotificationsUtil::add("CannotUploadReason", args);
LLUploadDialog::modalUploadFinished(); LLUploadDialog::modalUploadFinished();
} }
...@@ -917,7 +917,7 @@ class LLNewAgentInventoryVariablePriceResponder::Impl ...@@ -917,7 +917,7 @@ class LLNewAgentInventoryVariablePriceResponder::Impl
S32 option; S32 option;
std::string confirmation_url; std::string confirmation_url;
option = LLNotification::getSelectedOption( option = LLNotificationsUtil::getSelectedOption(
notification, notification,
response); response);
...@@ -1141,7 +1141,7 @@ void LLNewAgentInventoryVariablePriceResponder::showConfirmationDialog( ...@@ -1141,7 +1141,7 @@ void LLNewAgentInventoryVariablePriceResponder::showConfirmationDialog(
// when using plain ol' 'this', that this object // when using plain ol' 'this', that this object
// would be deleted before the callback is triggered // would be deleted before the callback is triggered
// and cause sadness. // and cause sadness.
LLNotifications::instance().add( LLNotificationsUtil::add(
"UploadCostConfirmation", "UploadCostConfirmation",
substitutions, substitutions,
payload, payload,
......
...@@ -385,18 +385,9 @@ LLToolDragAndDrop::LLDragAndDropDictionary::LLDragAndDropDictionary() ...@@ -385,18 +385,9 @@ LLToolDragAndDrop::LLDragAndDropDictionary::LLDragAndDropDictionary()
addEntry(DAD_ANIMATION, new DragAndDropEntry(&LLToolDragAndDrop::dad3dNULL, &LLToolDragAndDrop::dad3dNULL, &LLToolDragAndDrop::dad3dGiveInventory, &LLToolDragAndDrop::dad3dUpdateInventory, &LLToolDragAndDrop::dad3dNULL)); addEntry(DAD_ANIMATION, new DragAndDropEntry(&LLToolDragAndDrop::dad3dNULL, &LLToolDragAndDrop::dad3dNULL, &LLToolDragAndDrop::dad3dGiveInventory, &LLToolDragAndDrop::dad3dUpdateInventory, &LLToolDragAndDrop::dad3dNULL));
addEntry(DAD_GESTURE, new DragAndDropEntry(&LLToolDragAndDrop::dad3dNULL, &LLToolDragAndDrop::dad3dActivateGesture, &LLToolDragAndDrop::dad3dGiveInventory, &LLToolDragAndDrop::dad3dUpdateInventory, &LLToolDragAndDrop::dad3dNULL)); addEntry(DAD_GESTURE, new DragAndDropEntry(&LLToolDragAndDrop::dad3dNULL, &LLToolDragAndDrop::dad3dActivateGesture, &LLToolDragAndDrop::dad3dGiveInventory, &LLToolDragAndDrop::dad3dUpdateInventory, &LLToolDragAndDrop::dad3dNULL));
addEntry(DAD_LINK, new DragAndDropEntry(&LLToolDragAndDrop::dad3dNULL, &LLToolDragAndDrop::dad3dNULL, &LLToolDragAndDrop::dad3dNULL, &LLToolDragAndDrop::dad3dNULL, &LLToolDragAndDrop::dad3dNULL)); addEntry(DAD_LINK, new DragAndDropEntry(&LLToolDragAndDrop::dad3dNULL, &LLToolDragAndDrop::dad3dNULL, &LLToolDragAndDrop::dad3dNULL, &LLToolDragAndDrop::dad3dNULL, &LLToolDragAndDrop::dad3dNULL));
addEntry(DAD_MESH, new DragAndDropEntry(&LLToolDragAndDrop::dad3dNULL, &LLToolDragAndDrop::dad3dNULL, &LLToolDragAndDrop::dad3dGiveInventory, &LLToolDragAndDrop::dad3dUpdateInventory, &LLToolDragAndDrop::dad3dNULL));
// TODO: animation on self could play it? edit it? // TODO: animation on self could play it? edit it?
// TODO: gesture on self could play it? edit it? // TODO: gesture on self could play it? edit it?
// Source: DAD_MESH
{
&LLToolDragAndDrop::dad3dNULL, // Dest: DT_NONE
&LLToolDragAndDrop::dad3dNULL, // Dest: DT_SELF
&LLToolDragAndDrop::dad3dGiveInventory, // Dest: DT_AVATAR
&LLToolDragAndDrop::dad3dUpdateInventory, // Dest: DT_OBJECT
&LLToolDragAndDrop::dad3dNULL,//dad3dAssetOnLand, // Dest: DT_LAND
},
}; };
LLToolDragAndDrop::LLToolDragAndDrop() LLToolDragAndDrop::LLToolDragAndDrop()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment