Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add clipResult enum and render clips to copy the editor behavior
This PR changes how clipping works in the runtime in order to mimic how the editor works. A hidden path will now behave as an empty path effectively fully hiding the clipped element instead of being skipped. It also introduces a performance improvement in case shapes don't have any visible paths. The ClipResult enum is used to differentiate between clipping with at least an empty path or no empty paths at all. For now, that improvement will only be used for hidden paths but an upcoming PR will also use it for collapsed paths inside solos. Diffs= e717ed98a add clipResult enum and render clips to copy the editor behavior (#6218)
- Loading branch information