| 409 | } |
| 410 | |
| 411 | void 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 | |
| 422 | Variant EditorDebuggerTree::get_drag_data(const Point2 &p_point) { |
| 423 | if (get_button_id_at_position(p_point) != -1) { |
no test coverage detected