Play switches to scene tab; graph tab strictly follows selection

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
rootandClaude Fable 5.1 committed 2026-09-07 14:28:43 +02:00
1 parent 9060da615a
commit 551a50ffc9
4 files changed
+26 -6

No files matched your search

+2
View File
@@ -256,6 +256,8 @@ class Editor {
this.world.addSystem(this.behaviors);
this.viewport.setWorld(this.world);
this.state.setMode('play');
// Play always starts on the scene; the graph tab stays reachable for live tracing.
this.showTab('scene');
this.state.setNotice(this.world.firstOfType('camera') ? 'Playing · Esc stops' : 'This scene has no camera – nothing is rendered · Esc stops');
if (this.world.stopRequested) this.stop();
}