godot/scene/2d
Trevor Davenport 70a55540b7 Ensure primitive meshes are created before connected to changed signal.
Primitive meshes are special in that they aren't created until calling
one of their methods which cause it to actually create the mesh
resources.  If this is not done early enough, a changed signal can be
triggered from an unexpected thread resulting in a threading warning.

This follows the pattern of mesh_instance_3d which also does this before
connecting to the change signal.  Future cleanup could provide a better
means to populate the meshes.
2024-11-26 20:51:08 -07:00
..
physics Fix a few more super calls in get_configuration_warnings methods 2024-11-08 14:58:37 +01:00
animated_sprite_2d.cpp Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED 2024-11-02 15:43:18 -03:00
animated_sprite_2d.h Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED 2024-11-02 15:43:18 -03:00
audio_listener_2d.cpp Expose is_part_of_edited_scene() 2024-04-26 11:49:38 +02:00
audio_listener_2d.h Hide clip_children for non-drawn CanvasItems 2023-01-30 08:22:06 +01:00
audio_stream_player_2d.compat.inc Change AudioStreamPlayer autoplay and GLTFBufferView getters to be const 2024-02-08 13:01:50 -06:00
audio_stream_player_2d.cpp Add hint for oneshot & warning when it will be updated continuously 2024-11-11 01:12:45 +09:00
audio_stream_player_2d.h Add samples playback support 2024-06-18 11:06:31 -04:00
back_buffer_copy.cpp Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED 2024-11-02 15:43:18 -03:00
back_buffer_copy.h Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED 2024-11-02 15:43:18 -03:00
camera_2d.cpp Add "Game" editor for better runtime debugging 2024-10-30 11:42:17 -03:00
camera_2d.h Fix physics tick counter 2024-07-07 19:04:05 +02:00
canvas_group.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
canvas_group.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
canvas_modulate.cpp Fix super call in various get_configuration_warnings methods 2024-09-05 16:08:35 +02:00
canvas_modulate.h Revert "Update Node::get_configuration_warnings signature" 2024-02-17 19:03:21 +01:00
cpu_particles_2d.cpp Add hint for oneshot & warning when it will be updated continuously 2024-11-11 01:12:45 +09:00
cpu_particles_2d.h Revert "Update Node::get_configuration_warnings signature" 2024-02-17 19:03:21 +01:00
gpu_particles_2d.cpp Merge pull request #95711 from TokageItLab/warn-oneshot-prop 2024-11-22 14:54:30 -06:00
gpu_particles_2d.h Revert "Update Node::get_configuration_warnings signature" 2024-02-17 19:03:21 +01:00
light_2d.cpp Fix a few more super calls in get_configuration_warnings methods 2024-11-08 14:58:37 +01:00
light_2d.h Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED 2024-11-02 15:43:18 -03:00
light_occluder_2d.cpp Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED 2024-11-02 15:43:18 -03:00
light_occluder_2d.h Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED 2024-11-02 15:43:18 -03:00
line_2d.cpp Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED 2024-11-02 15:43:18 -03:00
line_2d.h Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED 2024-11-02 15:43:18 -03:00
line_builder.cpp Added a specific check for the corner case that went wrong. 2024-04-17 12:01:01 +02:00
line_builder.h Add closed property to Line2D 2023-09-11 11:28:25 +03:00
marker_2d.cpp Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED 2024-11-02 15:43:18 -03:00
marker_2d.h Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED 2024-11-02 15:43:18 -03:00
mesh_instance_2d.cpp Ensure primitive meshes are created before connected to changed signal. 2024-11-26 20:51:08 -07:00
mesh_instance_2d.h Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED 2024-11-02 15:43:18 -03:00
multimesh_instance_2d.cpp Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED 2024-11-02 15:43:18 -03:00
multimesh_instance_2d.h Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED 2024-11-02 15:43:18 -03:00
navigation_agent_2d.cpp Add "Game" editor for better runtime debugging 2024-10-30 11:42:17 -03:00
navigation_agent_2d.h Fix physics tick counter 2024-07-07 19:04:05 +02:00
navigation_link_2d.cpp Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED 2024-11-02 15:43:18 -03:00
navigation_link_2d.h Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED 2024-11-02 15:43:18 -03:00
navigation_obstacle_2d.cpp Fix obstacle avoidance and 3D editor ignoring transform 2024-11-16 11:30:48 +01:00
navigation_obstacle_2d.h Fix obstacle avoidance and 3D editor ignoring transform 2024-11-16 11:30:48 +01:00
navigation_region_2d.cpp Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED 2024-11-02 15:43:18 -03:00
navigation_region_2d.h Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED 2024-11-02 15:43:18 -03:00
node_2d.cpp Don't access Node3D/Node2D/Control global transform in reparent unless needed 2024-02-29 14:07:48 +01:00
node_2d.h Optimize threading-sensitive node data for single-threaded processing 2023-05-17 02:04:41 +02:00
parallax_2d.cpp Prevent jitter in Parallax2D 2024-09-23 20:36:38 +08:00
parallax_2d.h Prevent Parallax2D autoscroll reset 2024-08-28 16:38:27 -04:00
parallax_background.cpp Add new Parallax2D node 2024-03-03 15:46:40 -05:00
parallax_background.h Add new Parallax2D node 2024-03-03 15:46:40 -05:00
parallax_layer.cpp Fix super call in various get_configuration_warnings methods 2024-09-05 16:08:35 +02:00
parallax_layer.h Revert "Update Node::get_configuration_warnings signature" 2024-02-17 19:03:21 +01:00
path_2d.cpp Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED 2024-11-02 15:43:18 -03:00
path_2d.h Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED 2024-11-02 15:43:18 -03:00
polygon_2d.cpp Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED 2024-11-02 15:43:18 -03:00
polygon_2d.h Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED 2024-11-02 15:43:18 -03:00
remote_transform_2d.cpp Fix super call in various get_configuration_warnings methods 2024-09-05 16:08:35 +02:00
remote_transform_2d.h Revert "Update Node::get_configuration_warnings signature" 2024-02-17 19:03:21 +01:00
SCsub SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
skeleton_2d.cpp Use local vector for skeleton 2024-10-02 20:38:40 +03:00
skeleton_2d.h Use local vector for skeleton 2024-10-02 20:38:40 +03:00
sprite_2d.cpp Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED 2024-11-02 15:43:18 -03:00
sprite_2d.h Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED 2024-11-02 15:43:18 -03:00
tile_map_layer.cpp Add TileMapLayer._update_cells virtual callback called when the TileMapLayer's cells are updated 2024-11-11 13:29:38 +01:00
tile_map_layer.h Add TileMapLayer._update_cells virtual callback called when the TileMapLayer's cells are updated 2024-11-11 13:29:38 +01:00
tile_map.compat.inc Make TileMapLayers extend Node2D and work as children of TileMap 2024-01-17 16:05:50 +01:00
tile_map.cpp Fix setting TileMap data compatibility format broken by #98898. 2024-11-15 01:20:30 +00:00
tile_map.h Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED 2024-11-02 15:43:18 -03:00
touch_screen_button.cpp Core: Integrate Ref::instantiate where possible 2024-11-10 12:41:26 -06:00
touch_screen_button.h Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED 2024-11-02 15:43:18 -03:00
visible_on_screen_notifier_2d.cpp Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED 2024-11-02 15:43:18 -03:00
visible_on_screen_notifier_2d.h Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED 2024-11-02 15:43:18 -03:00