mirror of
https://github.com/godotengine/godot.git
synced 2024-11-23 12:43:43 +00:00
Core: Do not generate *.json.uid
files
This commit is contained in:
parent
f952bfe998
commit
98398a40bd
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user