Skip to content
Commit 29837278 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

effects: Make DeformEffect disable clipping if specified region is infinite

The Scene no longer clips window quads if the specified paint region is
infinite. The infinite region is defined as (INT_MIN/2, INT_MIN/2,
INT_MAX, INT_MAX). If you try to scale the infinite region, you will
easily hit integer overflow.

This change makes the DeformEffect disable geometry clipping if the given
paint region is infinite region in order to avoid hitting integer
overflow.
parent f07d6bd4
Pipeline #174290 passed with stage
in 26 minutes and 8 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment