Commit Graph

11 Commits

Author SHA1 Message Date
337c99e52f File copyright header updates pt1. 2023-12-17 22:29:33 +01:00
RedworkDE
f3167d1c65 Fix ProjectSettings::localize_path for Windows paths 2023-08-27 12:05:08 +02:00
2cd4e4d828 Renamed Set to RBSet. 2023-01-15 19:42:08 +01:00
1b0aac6028 Renamed Map to RBMap. 2023-01-15 19:12:50 +01:00
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