mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 23:31:53 -05:00
Merge pull request #1025 from Spartan322/4.4-add/required-redot-feature
[4.4] Add Redot as a project feature to protect Redot projects
This commit is contained in:
@@ -80,6 +80,7 @@ String ProjectSettings::get_imported_files_path() const {
|
|||||||
const PackedStringArray ProjectSettings::get_required_features() {
|
const PackedStringArray ProjectSettings::get_required_features() {
|
||||||
PackedStringArray features;
|
PackedStringArray features;
|
||||||
features.append(VERSION_BRANCH);
|
features.append(VERSION_BRANCH);
|
||||||
|
features.append("Redot");
|
||||||
#ifdef REAL_T_IS_DOUBLE
|
#ifdef REAL_T_IS_DOUBLE
|
||||||
features.append("Double Precision");
|
features.append("Double Precision");
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user