File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -5199,15 +5199,16 @@ void handle_take(bool take_separate)
5199
5199
// MAINT-290
5200
5200
// Reason: Showing the confirmation dialog resets object selection, thus there is nothing to derez.
5201
5201
// Fix: pass selection to the confirm_take, so that selection doesn't "die" after confirmation dialog is opened
5202
- params.functor .function ([take_separate](const LLSD ¬ification, const LLSD &response)
5202
+ LLObjectSelectionHandle obj_selection = LLSelectMgr::instance ().getSelection ();
5203
+ params.functor .function ([take_separate, obj_selection](const LLSD ¬ification, const LLSD &response)
5203
5204
{
5204
5205
if (take_separate)
5205
5206
{
5206
- confirm_take_separate (notification, response, LLSelectMgr::instance (). getSelection () );
5207
+ confirm_take_separate (notification, response, obj_selection );
5207
5208
}
5208
5209
else
5209
5210
{
5210
- confirm_take (notification, response, LLSelectMgr::instance (). getSelection () );
5211
+ confirm_take (notification, response, obj_selection );
5211
5212
}
5212
5213
});
5213
5214
You can’t perform that action at this time.
0 commit comments