mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Fix crash on editor startup when running with platform=server
(cherry picked from commit 4e58db9f12)
This commit is contained in:
committed by
Hein-Pieter van Braam
parent
c3fcb18bc6
commit
be588f9493
@@ -567,6 +567,9 @@ void DocData::generate(bool p_basic_types) {
|
||||
|
||||
PropertyDoc pd;
|
||||
Engine::Singleton &s = E->get();
|
||||
if (!s.ptr) {
|
||||
continue;
|
||||
}
|
||||
pd.name = s.name;
|
||||
pd.type = s.ptr->get_class();
|
||||
while (String(ClassDB::get_parent_class(pd.type)) != "Object")
|
||||
|
||||
Reference in New Issue
Block a user