mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 17:41:19 +00:00
Fix crash on editor startup when running with platform=server
This commit is contained in:
parent
0902915c33
commit
4e58db9f12
1 changed files with 3 additions and 0 deletions
|
|
@ -567,6 +567,9 @@ void DocData::generate(bool p_basic_types) {
|
||||||
|
|
||||||
PropertyDoc pd;
|
PropertyDoc pd;
|
||||||
Engine::Singleton &s = E->get();
|
Engine::Singleton &s = E->get();
|
||||||
|
if (!s.ptr) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
pd.name = s.name;
|
pd.name = s.name;
|
||||||
pd.type = s.ptr->get_class();
|
pd.type = s.ptr->get_class();
|
||||||
while (String(ClassDB::get_parent_class(pd.type)) != "Object")
|
while (String(ClassDB::get_parent_class(pd.type)) != "Object")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue