facemask-plugin icon indicating copy to clipboard operation
facemask-plugin copied to clipboard

Fix Depth Bucket Sorting

Open kamyarinfinity opened this issue 6 years ago • 0 comments

This PR improves/fixes several aspects of sorting transparent objects:

  1. Fixes an issue where object insertion in the list was not happening correctly
  2. Adds code to avoid creating a loop in depth list and will also log this as an error
  3. Considers depth bias for all the cases when sorting
  4. Simplifies the sorting code to make it more readable

kamyarinfinity avatar May 31 '19 00:05 kamyarinfinity