diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2022-03-16 18:18:42 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2022-03-21 15:29:41 +0300 |
commit | 99ce71dd5b756bcbd5d8dbbb71fe168dd62ef0f6 (patch) | |
tree | 31e302d3c69ae3cfa7fdc61d34d9237893579c22 /source/blender/draw/engines/overlay/overlay_metaball.c | |
parent | 731f3777836999c425888e22dba140bda18a09be (diff) |
Fix T96518: Gpencil Fill freezes when use invert and click inside areas
When using inverted filling and click inside a closed area and not outside as is expected, the algorithm to detect the contour to fill is unable to find the filling shape and try to fill outside of the valid index.
The infinite loop was adding more memory for each loop and the process continued while there was system resources and finally crashed the system.
As the tool in negative mode is designed to fill all areas when you click outside of any shape, now the algorithm check if the outline is not working as expected and cancels the filling process.
Diffstat (limited to 'source/blender/draw/engines/overlay/overlay_metaball.c')
0 files changed, 0 insertions, 0 deletions