godot/scene/2d
Guillaume Turri ea9dff87ae
Add error checks for bad configuration in `PathFollow2D/3D` `set_progress_ratio`
When a PathFollow is badly configured it's possible to have code that
call get_progress_ratio just after set_progress_ratio does not return
the value just set, which may be confusing for developer (ie that
    myPathFollow2D.set_progress_ratio(0.5)
    myPathFollow2D.get_progress_ratio()
does not return 0.5)

This commit makes ensures the developer has useful error messages in
such case, to make it easier to troubleshot it.
2024-09-04 18:07:49 +02:00
..
physics Expose `ShapeCast{2D,3D}::get_collision_result` 2024-08-15 16:20:13 +02:00
SCsub Split monolithic physics class files 2024-02-27 11:18:16 +01:00
animated_sprite_2d.cpp Cleanup of raw `nullptr` checks with `Ref` 2024-08-31 15:01:09 +02:00
animated_sprite_2d.h Optimise Object's `get_argument_options` 2024-02-29 18:00:54 +01: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 Expose `AudioStreamPlayer{2D,3D}::set_playing` and remove `AudioStreamPlayer::{2D,3D}::_is_active` 2024-08-30 17:16:46 +02:00
audio_stream_player_2d.h Add samples playback support 2024-06-18 11:06:31 -04:00
back_buffer_copy.cpp Notify child controls when BackBufferCopy's rect changed 2023-03-03 17:57:58 +08:00
back_buffer_copy.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
camera_2d.cpp Fixed Timestep Interpolation: Fix behaviour on pause 2024-07-07 16:48:17 +02: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 Revert "Update Node::get_configuration_warnings signature" 2024-02-17 19:03:21 +01:00
canvas_modulate.h Revert "Update Node::get_configuration_warnings signature" 2024-02-17 19:03:21 +01:00
cpu_particles_2d.cpp Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
cpu_particles_2d.h Revert "Update Node::get_configuration_warnings signature" 2024-02-17 19:03:21 +01:00
gpu_particles_2d.cpp Fix GPUParticles Inherit Velocity breaking with physics movement 2024-07-02 01:46:57 +02:00
gpu_particles_2d.h Revert "Update Node::get_configuration_warnings signature" 2024-02-17 19:03:21 +01:00
light_2d.cpp fix issue where Light2D does not re-attach itself to new canvas when viewport worlds are shared 2024-04-05 17:38:42 -04:00
light_2d.h Fixed Timestep Interpolation (2D) 2024-03-23 12:28:36 +01:00
light_occluder_2d.cpp Fixed Timestep Interpolation (2D) 2024-03-23 12:28:36 +01:00
light_occluder_2d.h Fixed Timestep Interpolation (2D) 2024-03-23 12:28:36 +01:00
line_2d.cpp Add closed property to Line2D 2023-09-11 11:28:25 +03:00
line_2d.h Add closed property to Line2D 2023-09-11 11:28:25 +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 fix: update the location of editor theme 2024-04-06 18:03:13 +03:00
marker_2d.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
mesh_instance_2d.cpp Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
mesh_instance_2d.h Remove normal_map from MeshInstance2D and MultiMeshInstance2D 2023-01-12 13:15:31 -08:00
multimesh_instance_2d.cpp Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
multimesh_instance_2d.h Remove normal_map from MeshInstance2D and MultiMeshInstance2D 2023-01-12 13:15:31 -08:00
navigation_agent_2d.cpp Fix physics tick counter 2024-07-07 19:04:05 +02:00
navigation_agent_2d.h Fix physics tick counter 2024-07-07 19:04:05 +02:00
navigation_link_2d.cpp Add NavigationLink function to change navigation map 2024-08-15 22:37:02 +02:00
navigation_link_2d.h Add NavigationLink function to change navigation map 2024-08-15 22:37:02 +02:00
navigation_obstacle_2d.cpp Add NavigationObstacle options to affect and carve navigation mesh 2024-03-15 01:45:44 +01:00
navigation_obstacle_2d.h Add NavigationObstacle options to affect and carve navigation mesh 2024-03-15 01:45:44 +01:00
navigation_region_2d.cpp Fix NavigationRegion2D debug not clearing canvas item 2024-06-10 19:07:57 +02:00
navigation_region_2d.h Improve NavigationRegion2D debug performance 2024-05-28 19:36:35 +02: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 Parallax2D autoscroll reset 2024-08-28 16:38:27 -04: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 Parallax2D repeats being not relative to its transform 2024-08-19 11:43:16 +02:00
parallax_layer.h Revert "Update Node::get_configuration_warnings signature" 2024-02-17 19:03:21 +01:00
path_2d.cpp Add error checks for bad configuration in `PathFollow2D/3D` `set_progress_ratio` 2024-09-04 18:07:49 +02:00
path_2d.h Revert "Update Node::get_configuration_warnings signature" 2024-02-17 19:03:21 +01:00
polygon_2d.cpp Make `Polygon2D::bones` property internal 2024-08-10 17:55:29 +02:00
polygon_2d.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
remote_transform_2d.cpp Propagate reset_physics_interpolation through RemoteTransform2D/3D 2024-05-28 20:23:25 +02:00
remote_transform_2d.h Revert "Update Node::get_configuration_warnings signature" 2024-02-17 19:03:21 +01:00
skeleton_2d.cpp Merge pull request #91731 from TokageItLab/b2s 2024-08-19 16:04:40 +02:00
skeleton_2d.h Physics interpolation: Fix 2D skinning 2024-06-20 11:35:38 +02:00
sprite_2d.cpp Add alternative pixel rounding 2024-06-29 10:33:39 -04:00
sprite_2d.h One Copyright Update to rule them all 2023-01-05 13:25:55 +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 Add helper methods to check for tile transforms 2024-08-12 02:51:34 +02:00
tile_map.h Add helper methods to check for tile transforms 2024-08-12 02:51:34 +02:00
tile_map_layer.cpp Implement multiple occlusion polygons within each TileSet occlusion layer 2024-09-03 15:38:51 +02:00
tile_map_layer.h Implement multiple occlusion polygons within each TileSet occlusion layer 2024-09-03 15:38:51 +02:00
touch_screen_button.cpp [Scene] Add SceneStringNames::pressed 2024-05-14 15:51:28 +02:00
touch_screen_button.h Move 2D-only resources to their own folder 2024-02-26 05:22:45 -06:00
visible_on_screen_notifier_2d.cpp Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
visible_on_screen_notifier_2d.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00