Inventory cut support!
Also fixes a bunch of comments, implementation based off of v-d. Added isOnClipboard and setCutMode functions to LLInventoryClipboard, in part from v-d's LLClipboard. LLInventoryFilter has a few rearrangements of code; only real change is now it has checkAgainstClipboard and uses it to filter out cut items. There is a massive retabbed block in llinventorymodel.cpp, view without space changes. Implements removeObject. Note: We are not afflicted by MAINT-1197: Fix inventory deselection/reselection when cutting items
This commit is contained in:
@@ -186,6 +186,10 @@
|
||||
<on_click filter="" function="Inventory.DoToSelected" userdata="acquire_asset_id" />
|
||||
</menu_item_call>
|
||||
<menu_item_separator name="Copy Separator" />
|
||||
<menu_item_call bottom_delta="-18" height="18" label="Cut" left="0" mouse_opaque="true"
|
||||
name="Cut" width="128">
|
||||
<on_click filter="" function="Inventory.DoToSelected" userdata="cut" />
|
||||
</menu_item_call>
|
||||
<menu_item_call bottom_delta="-18" height="18" label="Copy" left="0" mouse_opaque="true"
|
||||
name="Copy" width="128">
|
||||
<on_click filter="" function="Inventory.DoToSelected" userdata="copy" />
|
||||
|
||||
Reference in New Issue
Block a user