summaryrefslogtreecommitdiff
path: root/editor/doc_data.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-08-10 19:20:59 +0200
committerGitHub <noreply@github.com>2020-08-10 19:20:59 +0200
commitd6c9dc044217e1b184ea620f6354933e189db90b (patch)
tree865ea57486742475215cebd9bbed3ee5ffb96402 /editor/doc_data.cpp
parentf2149fe763a5678237b417fb9fefec5a5c74ae9d (diff)
parent55637226282982cf387c106db57e91b4e65a8821 (diff)
Merge pull request #40445 from hinlopen/project-settings-editor
Rewrite ProjectSettings editor header
Diffstat (limited to 'editor/doc_data.cpp')
-rw-r--r--editor/doc_data.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/doc_data.cpp b/editor/doc_data.cpp
index 75b16b4510..791b49319a 100644
--- a/editor/doc_data.cpp
+++ b/editor/doc_data.cpp
@@ -316,8 +316,7 @@ void DocData::generate(bool p_basic_types) {
if (name == "ProjectSettings") {
// Special case for project settings, so that settings are not taken from the current project's settings
- if (E->get().name == "script" ||
- ProjectSettings::get_singleton()->get_order(E->get().name) >= ProjectSettings::NO_BUILTIN_ORDER_BASE) {
+ if (E->get().name == "script" || !ProjectSettings::get_singleton()->is_builtin_setting(E->get().name)) {
continue;
}
if (E->get().usage & PROPERTY_USAGE_EDITOR) {