Core: Do not generate *.json.uid files

This commit is contained in:
Danil Alexeev 2024-11-22 16:13:58 +03:00
parent f952bfe998
commit 98398a40bd
No known key found for this signature in database
GPG Key ID: 5A52F75A8679EC57

View File

@ -105,6 +105,9 @@ public:
virtual void get_recognized_extensions(List<String> *p_extensions) const override;
virtual bool handles_type(const String &p_type) const override;
virtual String get_resource_type(const String &p_path) const override;
// Treat JSON as a text file, do not generate a `*.json.uid` file.
virtual ResourceUID::ID get_resource_uid(const String &p_path) const override { return ResourceUID::INVALID_ID; }
virtual bool has_custom_uid_support() const override { return true; }
};
class ResourceFormatSaverJSON : public ResourceFormatSaver {