mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Add Redot as a project feature to protect Redot projects
(cherry picked from commit 02abb1e8a1)
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