summaryrefslogtreecommitdiffstats
path: root/platform/android/java_class_wrapper.cpp
diff options
context:
space:
mode:
authorGuillaume Turri <g.turri@criteo.com>2024-07-28 10:24:09 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-09-04 18:07:49 +0200
commitea9dff87ae29ea34cff8d0452c2ea799c16b2d0c (patch)
tree7605f3c08e472b9da344958d4b17c17104c27298 /platform/android/java_class_wrapper.cpp
parent139f9989e6afcc9376c1c3551cc410ce04981163 (diff)
downloadredot-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/android/java_class_wrapper.cpp')
0 files changed, 0 insertions, 0 deletions