1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-06 19:41:11 +00:00
Files
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
..
2024-07-07 19:04:05 +02:00
2024-03-23 12:28:36 +01:00
2023-09-11 11:28:25 +03:00
2023-09-11 11:28:25 +03:00
2023-09-11 11:28:25 +03:00
2024-07-07 19:04:05 +02:00
2024-03-03 15:46:40 -05:00
2024-02-27 11:18:16 +01:00
2024-06-29 10:33:39 -04:00