mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Added some obvious errors explanations
This commit is contained in:
parent
e9f49a6d5a
commit
17732fe698
125 changed files with 435 additions and 458 deletions
|
@ -38,7 +38,7 @@
|
|||
void BackgroundProgress::_add_task(const String &p_task, const String &p_label, int p_steps) {
|
||||
|
||||
_THREAD_SAFE_METHOD_
|
||||
ERR_FAIL_COND(tasks.has(p_task));
|
||||
ERR_FAIL_COND_MSG(tasks.has(p_task), "Task '" + p_task + "' already exists.");
|
||||
BackgroundProgress::Task t;
|
||||
t.hb = memnew(HBoxContainer);
|
||||
Label *l = memnew(Label);
|
||||
|
@ -172,7 +172,7 @@ void ProgressDialog::add_task(const String &p_task, const String &p_label, int p
|
|||
return;
|
||||
}
|
||||
|
||||
ERR_FAIL_COND(tasks.has(p_task));
|
||||
ERR_FAIL_COND_MSG(tasks.has(p_task), "Task '" + p_task + "' already exists.");
|
||||
ProgressDialog::Task t;
|
||||
t.vb = memnew(VBoxContainer);
|
||||
VBoxContainer *vb2 = memnew(VBoxContainer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue