Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

Exclude user singletons from `@GlobalScope.xml`

Aaron Franke254cab3a0472
diff --git a/editor/doc/doc_tools.cpp b/editor/doc/doc_tools.cpp
index 0460735ff58..0bb9d05e457 100644
--- a/editor/doc/doc_tools.cpp
+++ b/editor/doc/doc_tools.cpp
@@ -1034,7 +1034,7 @@ void DocTools::generate(BitField<GenerateFlags> p_flags) {
// FIXME: this is kind of hackish...
for (const Engine::Singleton &s : singletons) {
DocData::PropertyDoc pd;
- if (!s.ptr) {
+ if (!s.ptr || s.user_created) {
continue;
}
pd.name = s.name;