godot/servers/visual
lawnjelly c4d44e3826
Fix lighting_dirty flag bug
In rare circumstances, changing the geometry data attached to an instance, there was the opporunity for the lighting_dirty flag to get out of sync, which could lead to access to a stale light RID, and warnings or worse.

This PR fixes the problem by ensuring the lighting is always updated on the instance when first adding GeometryData.

(cherry picked from commit 26e93dc5c6)
2021-12-14 17:30:16 +01:00
..
portals Portals - Allow user to set roaming expansion margin 2021-11-15 22:45:57 +01:00
rasterizer.cpp Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
rasterizer.h Merge pull request #51491 from Calinou/glow-add-high-quality-mode-3.x 2021-10-08 07:47:07 +02:00
SCsub Portal occlusion culling 2021-07-14 11:43:23 +01:00
shader_language.cpp clang-format: Disable alignment of operands, too unreliable 2021-10-28 13:23:38 +02:00
shader_language.h [3.x] Fix shader crash when using local var with the same name as varying 2021-08-13 09:30:35 +03:00
shader_types.cpp [3.x] Makes shader 'TIME' available in custom functions by default 2021-06-11 15:23:24 +03:00
shader_types.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
visual_server_canvas.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
visual_server_canvas.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
visual_server_globals.cpp Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
visual_server_globals.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
visual_server_raster.cpp Remove duplicate ERR_PRINTS macro 2021-06-16 11:56:25 +01:00
visual_server_raster.h Portals - Allow user to set roaming expansion margin 2021-11-15 22:45:57 +01:00
visual_server_scene.cpp BVH - add option for expanded AABBs in leaves 2021-11-25 23:13:14 +01:00
visual_server_scene.h Fix lighting_dirty flag bug 2021-12-14 17:30:16 +01:00
visual_server_viewport.cpp Only update render target directly if ARVR mode is off 2021-10-26 21:40:25 +11:00
visual_server_viewport.h Add support for contrast-adaptive sharpening in 3D (GLES3 only) 2021-06-21 15:37:31 +02:00
visual_server_wrap_mt.cpp Sphere occluders (portals and general use) 2021-08-17 09:02:06 +01:00
visual_server_wrap_mt.h Portals - Allow user to set roaming expansion margin 2021-11-15 22:45:57 +01:00