1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//! EditorHook: what each panel's actions do, one module per surface. A panel's
//! layout half reports what was clicked (`editor/*_panel.rs`); the module here
//! carries that report out. Most of them mutate the working authored entry list
//! and commit it the way every other edit commits (`hook/edits.rs`: the undo
//! snapshot, the live-preview rebuild, and SAVE's atomic write), so a panel
//! action is never a special case of persistence.
//!
//! Two of them mutate no entry and answer a console command instead: `select`
//! resolves /select into a new selection, and `export` compiles the working
//! entries to write one named mesh out as glb.
//!
//! One module per surface: `asset_tree`, `behavior`, `character_shape`,
//! `console`, `content`, `export`, `import`, `lighting`, `map`, `overrides`,
//! `palette`, `select`, `story`, `variables` and `worlds`.
//!
//! A panel whose state outgrew a few hook fields keeps it in a `*_state` sibling
//! (`behavior_state`, `console_state`, `map_state`, `palette_state`,
//! `story_state` and `worlds_state`), a plain struct with the resets that touch
//! nothing else.
pub
pub
pub
pub
pub
pub
pub
pub
pub
pub
pub
pub
pub
pub
pub
pub
pub
pub
pub
pub
pub