3265fb9e1d
Ported: Project Manager: Fix hacky code for project rename
...
Instantiating a new ProjectSettings is *not* the way to go.
ConfigFile works just fine to read/change a single value.
Fixes memory leaks as the instantiated ProjectSettings was never freed.
Forbid doing this to prevent such problems.
Fixes #25661 .
- akien-mga
9a340a2868
2022-11-30 19:19:02 +01:00
Pedro J. Estébanez
d4555e520f
Determine ProjectSettings' resource path early
2022-09-16 21:53:28 +02:00
Marcin Nowak
a697c239b8
Backport panning strength parameters from 4.0
2022-09-16 19:44:55 +02:00
f9de65e101
Now get_global in Engine won't print an error if the global isn't exists, instead it will just return null.
2022-08-25 11:25:12 +02:00
4f9dd569b8
Now the Engine has methods to store globals (custom singletons). They are mostly meant for classes like EditorInterface, SpatialEditor, and plugin scripts that need a singleton for in-editor use. In essence it provides easy and side effect less access for classes that might not be present on every run. (For example gdscript recognizes normal singletons as keywords, but not these.)
2022-08-23 13:13:39 +02:00
94dfea6391
Put variables at the bottom of the Engine singleton.
2022-08-23 11:55:54 +02:00
04feb63860
Moved Engine and projectSettings.
2022-08-17 15:35:28 +02:00