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

Method clear_selection

editor/debugger/editor_debugger_tree.cpp:411–420  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

409}
410
411void EditorDebuggerTree::clear_selection() {
412 inspected_object_ids.clear();
413
414 if (!updating_scene_tree) {
415 // Request a tree refresh.
416 EditorDebuggerNode::get_singleton()->request_remote_tree();
417 }
418 // Set the value immediately, so no update flooding happens and causes a crash.
419 updating_scene_tree = true;
420}
421
422Variant EditorDebuggerTree::get_drag_data(const Point2 &p_point) {
423 if (get_button_id_at_position(p_point) != -1) {

Calls 2

clearMethod · 0.45
request_remote_treeMethod · 0.45

Tested by

no test coverage detected