Show static functions inside classes in method list

This commit is contained in:
Nils ANDRÉ-CHANG 2019-07-13 20:47:37 +01:00
parent 584ca0f156
commit 9e3455cb1e

View file

@ -161,6 +161,10 @@ bool GDScriptLanguage::validate(const String &p_script, int &r_line_error, int &
funcs[cl->subclasses[i]->functions[j]->line] = String(cl->subclasses[i]->name) + "." + String(cl->subclasses[i]->functions[j]->name);
}
for (int j = 0; j < cl->subclasses[i]->static_functions.size(); j++) {
funcs[cl->subclasses[i]->static_functions[j]->line] = String(cl->subclasses[i]->name) + "." + String(cl->subclasses[i]->static_functions[j]->name);
}
}
for (Map<int, String>::Element *E = funcs.front(); E; E = E->next()) {