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

Function clear_scene_doc_cache

perro_editor/res/scripts/editor/main.rs:195–200  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

193 };
194 push_scene_undo_snapshot(state);
195 state.doc_text = next;
196 let _ = cached_scene_doc_shared(&state.doc_text);
197 state.dirty = true;
198 mark_active_scene_dirty(state);
199 state.log = format!("redo\n{} left", state.scene_redo_stack.len());
200 true
201}
202
203fn mark_active_scene_dirty(state: &mut EditorState) {

Callers 1

open_projectFunction · 0.85

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected