Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
1590f187
Commit
1590f187
authored
15 years ago
by
Palmer
Browse files
Options
Downloads
Patches
Plain Diff
Fixing merge borkasaurs.
parent
85488f54
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
indra/newview/llassetuploadresponders.cpp
+8
-8
8 additions, 8 deletions
indra/newview/llassetuploadresponders.cpp
indra/newview/lltooldraganddrop.cpp
+1
-10
1 addition, 10 deletions
indra/newview/lltooldraganddrop.cpp
with
9 additions
and
18 deletions
indra/newview/llassetuploadresponders.cpp
+
8
−
8
View file @
1590f187
...
@@ -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
);
LLNotifications
Util
::
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.
LL
Floater
Inventory
*
view
=
LLFloater
Inventory
::
getActiveInventory
();
LLInventory
Panel
*
panel
=
LL
Inventory
Panel
::
getActiveInventory
Panel
();
if
(
view
)
if
(
panel
)
{
{
LLFocusableElement
*
focus
=
gFocusMgr
.
getKeyboardFocus
();
LLFocusableElement
*
focus
=
gFocusMgr
.
getKeyboardFocus
();
view
->
getP
anel
()
->
setSelection
(
p
anel
->
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
->
getP
anel
()
->
openSelected
();
p
anel
->
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
);
LLNotifications
Util
::
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
=
LLNotification
sUtil
::
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
(
LLNotifications
Util
::
add
(
"UploadCostConfirmation"
,
"UploadCostConfirmation"
,
substitutions
,
substitutions
,
payload
,
payload
,
...
...
This diff is collapsed.
Click to expand it.
indra/newview/lltooldraganddrop.cpp
+
1
−
10
View file @
1590f187
...
@@ -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
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment