diff options
author | Guillaume Turri <g.turri@criteo.com> | 2024-07-28 10:24:09 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-09-04 18:07:49 +0200 |
commit | ea9dff87ae29ea34cff8d0452c2ea799c16b2d0c (patch) | |
tree | 7605f3c08e472b9da344958d4b17c17104c27298 /platform/macos/export/export.cpp | |
parent | 139f9989e6afcc9376c1c3551cc410ce04981163 (diff) | |
download | redot-engine-ea9dff87ae29ea34cff8d0452c2ea799c16b2d0c.tar.gz |
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.
Diffstat (limited to 'platform/macos/export/export.cpp')
0 files changed, 0 insertions, 0 deletions