Fix crash on editor startup when running with platform=server

This commit is contained in:
Josh Faust 2018-05-11 11:20:27 -07:00
parent 0902915c33
commit 4e58db9f12

View file

@ -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")