| 586 | } |
| 587 | |
| 588 | void EditorProfiler::set_profiling(bool p_pressed) { |
| 589 | activate->set_pressed(p_pressed); |
| 590 | _update_button_text(); |
| 591 | emit_signal(SNAME("enable_profiling"), activate->is_pressed()); |
| 592 | } |
| 593 | |
| 594 | bool EditorProfiler::is_profiling() { |
| 595 | return activate->is_pressed(); |
no test coverage detected