0ad/source
Ralph Sennhauser 53d1ae00f1
Fix deleting last node in spline
The last node needs to have distance "0" to next node. Do the inverse of
when adding nodes.

Also add some basic tests covering this bug.

Fixes: #4659
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
2026-08-10 13:57:18 +02:00
..
collada Fix some includes all over the place 2025-08-14 20:15:30 +02:00
dapinterface Move Script* classes to Script namespace 2026-06-20 17:43:00 +02:00
graphics Remove CStr::FromUInt 2026-08-06 18:03:05 +02:00
gui Remove CStr::FromUInt 2026-08-06 18:03:05 +02:00
i18n Move Script* classes to Script namespace 2026-06-20 17:43:00 +02:00
lib Uses std::string_view for UTF-8 conversions 2026-07-14 00:14:27 +02:00
lobby Re-use XMPP resource GUID for whole app runtime 2026-07-01 15:36:51 +02:00
maths Fix deleting last node in spline 2026-08-10 13:57:18 +02:00
network Remove CStr::FromUInt 2026-08-06 18:03:05 +02:00
pch Compute actual size of GUI objects lazily 2026-04-12 00:17:02 +02:00
ps Remove CStr::FromInt64$ 2026-08-06 18:03:05 +02:00
renderer Removes unused BuildColor4ub from ModelRenderer 2026-08-06 11:32:02 +02:00
rlinterface Uses std::string_view for Script::Interface::Eval 2026-07-13 23:53:24 +02:00
scriptinterface Remove CStr::FromUInt 2026-08-06 18:03:05 +02:00
simulation2 Use turn_id_t (int32_t) for turn-count across simulation, network and replay 2026-07-31 10:34:20 +02:00
soundmanager Makes GameView returning reference on camera 2026-06-28 17:57:16 +02:00
third_party Adds sRGB support to GLES 2026-07-29 01:29:11 +02:00
tools Support scroll-rotate in Atlas 2026-08-10 09:00:07 +02:00
CxxTestRunner.tpl Use return instead of exit in testrunner 2025-10-15 18:17:24 +02:00
main.cpp Move Script* classes to Script namespace 2026-06-20 17:43:00 +02:00
test_setup.cpp Move Script* classes to Script namespace 2026-06-20 17:43:00 +02:00