create a svg log instead of caching the commands where they do not

belong...
This commit is contained in:
2026-05-21 21:28:14 +02:00
parent 156301f272
commit ece26bfe04
6 changed files with 297 additions and 281 deletions
+7
View File
@@ -299,6 +299,13 @@ impl TurtleApp {
if let Some(draw_cmd) =
execution::tessellate_command(&completed_cmd, &tween_start, end_state.position)
{
#[cfg(feature = "svg")]
execution::push_svg_for_draw(
&completed_cmd,
&tween_start,
end_state.position,
&mut turtle.svg_log,
);
turtle.commands.push(draw_cmd);
}
}