You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26:15 +00:00
-Changed most project settings in the engine, so they have major and minor categories.
-Changed SectionedPropertyEditor to support this -Renamed Globals singleton to GlobalConfig, makes more sense. -Changed the logic behind persisten global settings, instead of the persist checkbox, a revert button is now available
This commit is contained in:
@@ -608,14 +608,14 @@ void DocData::generate(bool p_basic_types) {
|
||||
c.constants.push_back(cd);
|
||||
}
|
||||
|
||||
List<Globals::Singleton> singletons;
|
||||
Globals::get_singleton()->get_singletons(&singletons);
|
||||
List<GlobalConfig::Singleton> singletons;
|
||||
GlobalConfig::get_singleton()->get_singletons(&singletons);
|
||||
|
||||
//servers (this is kind of hackish)
|
||||
for(List<Globals::Singleton>::Element *E=singletons.front();E;E=E->next()) {
|
||||
for(List<GlobalConfig::Singleton>::Element *E=singletons.front();E;E=E->next()) {
|
||||
|
||||
PropertyDoc pd;
|
||||
Globals::Singleton &s=E->get();
|
||||
GlobalConfig::Singleton &s=E->get();
|
||||
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