MCPcopy Create free account
hub / github.com/GDRETools/gdsdecomp / step

Method step

gui/gdre_progress.cpp:563–579  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

561}
562
563bool EditorProgressGDDC::step(const String &p_state, int p_step, bool p_force_refresh) {
564 if (GDREProgressDialog::get_singleton()) {
565 return GDREProgressDialog::get_singleton()->task_step(task, p_state, p_step, p_force_refresh);
566 } else {
567#ifdef TOOLS_ENABLED
568 if (EditorNode::get_singleton()) {
569 if (Thread::is_main_thread()) {
570 return EditorNode::progress_task_step(task, p_state, p_step, p_force_refresh);
571 } else {
572 EditorNode::progress_task_step_bg(task, p_step);
573 return false;
574 }
575 }
576#endif
577 }
578 return false;
579}
580
581void EditorProgressGDDC::set_progress_length(bool p_indeterminate, int p_new_amount) {
582 if (GDREProgressDialog::get_singleton()) {

Callers 12

update_progressMethod · 0.80
export_importsMethod · 0.80
_create_after_processMethod · 0.80
_decompile_processMethod · 0.80
_compile_processMethod · 0.80

Calls 1

task_stepMethod · 0.80

Tested by

no test coverage detected