Jump to content

UI selection with materials overlay is wrong


lonelysquirrel
  • Branch: Live Branch Version: Windows Pending

If I select a view in the materials overlay when there is a stack of items on a tile, items which are featured in the overlay are rendered at the front of the stack.  When I click on the item, I expect this item to select.  If the item is not actually at the top of the stack, something else will be selected.

Usally in ONI if items are rendered on top of each other, the item that I actually click on is the one that's selected with the first click.  This is not respecting the materials overlay.  Lead appears in the tooltip, but clicking on the lead selected obsidian

20210906072451_1.thumb.jpg.445183a20251098d976af1c122718df3.jpg

 

This is because obsidian was the first item under the mouse without the overlay.

20210906072443_1.thumb.jpg.add447b8e7209829c8d2782c3a094ea5.jpg


Steps to Reproduce

Example from screenshot: 

Have one tile with Lead plus other items.  Without overlays the lead is rendered behind other items

Select Metal in the materials overlay. 

Click directly on the stack of lead

Expected: lead becomes selected

Actual: obsidian is selected




User Feedback


There are no comments to display.



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...