MCPcopy Create free account
hub / github.com/PerroEngine/Perro / refresh_asset_panels

Function refresh_asset_panels

perro_editor/res/scripts/ui/editor_ui.rs:87–92  ·  view source on GitHub ↗

File/asset selection: chrome, file panel, inspector. Skips scene pane.

(ctx: &mut ScriptContext<'_, API>)

Source from the content-addressed store, hash-verified

85 }
86 state.output_levels.push(classify_editor_log(&state.log).to_string());
87 state.output_messages.push(state.log.clone());
88 state.output_repeats.push(1);
89 if state.output_messages.len() > MAX_OUTPUT_MESSAGES {
90 state.output_messages.remove(0);
91 state.output_levels.remove(0);
92 state.output_repeats.remove(0);
93 }
94}
95

Callers 1

click_or_open_file_slotFunction · 0.85

Calls 3

refresh_chrome_viewFunction · 0.85
refresh_files_viewFunction · 0.85
refresh_inspector_viewFunction · 0.85

Tested by

no test coverage detected