engine: internals supporting the facade migration

UndoStack push_pre_executed, FolderAddChild-based true folder moves,
NodeViewDeleteCommand delete-then-reconnect support, event emission
points for the facade event bus, and related internal adjustments.
This commit is contained in:
2026-07-26 22:43:09 +08:00
parent e9f173916f
commit f95590e924
38 changed files with 302 additions and 746 deletions
+6
View File
@@ -446,6 +446,12 @@ bool RenderWorkerPool::submit_frame(
ticket->moveToThread(this);
// Mark the ticket running the moment it is accepted for rendering.
// Otherwise there is a window between dispatch and worker pickup where the
// ticket still appears idle, and clear_single_frame_renders() -- which only
// spares running tickets -- would cancel a frame the viewer just requested.
ticket->start();
QMutexLocker locker(&mutex_);
queue_.push_back(job);
wait_.wakeOne();