Route cloud save-before-upload through document session services

This commit is contained in:
2026-06-15 20:24:06 +02:00
parent 02e6386664
commit 3e0a6b2c31
6 changed files with 59 additions and 2 deletions

View File

@@ -98,6 +98,12 @@ behind a dedicated helper in `src/legacy_cloud_services.cpp`, so the remaining
cloud debt is further concentrated on save-before-upload execution,
prompt/progress lifetime, OpenGL context guarding, downloaded-project open,
layer refresh, and action-history reset.
Retained save-before-upload execution now also routes through
`src/legacy_document_session_services.*` instead of
`src/legacy_cloud_services.cpp` calling `Canvas::I->project_save_thread(...)`
directly, so the remaining cloud debt is further concentrated on
prompt/progress lifetime, OpenGL context guarding, downloaded-project open,
layer refresh, and action-history reset.
Recent 2026-06-13 retained preview reductions continue to narrow DEBT-0036:
`NodeStrokePreview::draw_stroke_immediate()` now also routes