mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 08:23:29 +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:
parent
9e477babb3
commit
0f7af4ea51
109 changed files with 847 additions and 789 deletions
|
@ -309,7 +309,7 @@ void OS_JavaScript::initialize(const VideoMode& p_desired,int p_video_driver,int
|
|||
|
||||
#ifdef JAVASCRIPT_EVAL_ENABLED
|
||||
javascript_eval = memnew(JavaScript);
|
||||
Globals::get_singleton()->add_singleton(Globals::Singleton("JavaScript", javascript_eval));
|
||||
GlobalConfig::get_singleton()->add_singleton(GlobalConfig::Singleton("JavaScript", javascript_eval));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -807,7 +807,7 @@ String OS_JavaScript::get_data_dir() const {
|
|||
//if (get_data_dir_func)
|
||||
// return get_data_dir_func();
|
||||
return "/userfs";
|
||||
//return Globals::get_singleton()->get_singleton_object("GodotOS")->call("get_data_dir");
|
||||
//return GlobalConfig::get_singleton()->get_singleton_object("GodotOS")->call("get_data_dir");
|
||||
};
|
||||
|
||||
String OS_JavaScript::get_executable_path() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue