MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / _update_scene_groups

Method _update_scene_groups

editor/docks/groups_editor.cpp:295–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293}
294
295void GroupsEditor::_update_scene_groups(const ObjectID &p_id) {
296 HashMap<ObjectID, HashMap<StringName, bool>>::Iterator I = scene_groups_cache.find(p_id);
297 if (I) {
298 scene_groups = I->value;
299 scene_groups_cache.remove(I);
300 } else {
301 scene_groups = HashMap<StringName, bool>();
302 }
303}
304
305void GroupsEditor::_cache_scene_groups(const ObjectID &p_id) {
306 const int edited_scene_count = EditorNode::get_editor_data().get_edited_scene_count();

Callers

nothing calls this directly

Calls 2

findMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected