godot/servers/visual
lawnjelly 0d5be76f15
Fix canvas rect bound calculation
It turns out the calculation of the bounding rect for canvas items has a nasty bug. When a transform is applied (especially in a custom draw), in the renderer this extra matrix is applied to all later commands in the canvas item. However in the calculation of the bound, the transform is only applied to the first command following the transform.

This PR fixes this inconsistency.

(cherry picked from commit 6e022a382d)
2021-05-31 11:34:24 +02:00
..
rasterizer.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rasterizer.h Fix canvas rect bound calculation 2021-05-31 11:34:24 +02:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
shader_language.cpp Tweak shader errors for features only usable in GLES3 2021-03-07 13:27:13 +01:00
shader_language.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
shader_types.cpp Add METALLIC to light() built-ins 2021-02-02 13:02:46 +01:00
shader_types.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
visual_server_canvas.cpp Revert backport of 2D transform and camera snapping options 2021-03-05 14:20:31 +00:00
visual_server_canvas.h Revert backport of 2D transform and camera snapping options 2021-03-05 14:20:31 +00:00
visual_server_globals.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
visual_server_globals.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
visual_server_raster.cpp Fix negative VRAM values 2021-03-09 09:51:17 +00:00
visual_server_raster.h Merge pull request #46932 from JFonS/fix_lm_capture_env 2021-03-12 12:30:36 +01:00
visual_server_scene.cpp Fix typos with codespell 2021-05-20 14:36:39 +02:00
visual_server_scene.h Modernize atomics 2021-02-18 12:23:25 +01:00
visual_server_viewport.cpp ARVR GDNative enhancements: 2021-03-25 22:37:47 +11:00
visual_server_viewport.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
visual_server_wrap_mt.cpp Modernize atomics 2021-02-18 12:23:25 +01:00
visual_server_wrap_mt.h Merge pull request #46932 from JFonS/fix_lm_capture_env 2021-03-12 12:30:36 +01:00