mirror of
https://github.com/godotengine/godot.git
synced 2025-10-25 18:54:43 +00:00
Unexpose subclasses of ResourceFormatLoader and -Saver
ResourceFormatLoader and ResourceFormatSaver are meant to be overridden to add support for different formats in ResourceLoader and ResourceSaver. Those should be exposed as they can be overridden in plugins. On the other hand, all predefined subclasses of those two base classes are only meant to register support for new file and resource types, but should not and cannot be used directly from script, so they should not be exposed. Also unexposed ResourceImporterOGGVorbis (and thus its base class ResourceImporter) which are editor-only.
This commit is contained in:
parent
054ac5c8f5
commit
d6176db271
59 changed files with 10 additions and 422 deletions
|
|
@ -40,8 +40,6 @@ class PluginScriptLanguage;
|
|||
|
||||
class ResourceFormatLoaderPluginScript : public ResourceFormatLoader {
|
||||
|
||||
GDCLASS(ResourceFormatLoaderPluginScript, ResourceFormatLoader)
|
||||
|
||||
PluginScriptLanguage *_language;
|
||||
|
||||
public:
|
||||
|
|
@ -54,8 +52,6 @@ public:
|
|||
|
||||
class ResourceFormatSaverPluginScript : public ResourceFormatSaver {
|
||||
|
||||
GDCLASS(ResourceFormatSaverPluginScript, ResourceFormatSaver)
|
||||
|
||||
PluginScriptLanguage *_language;
|
||||
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue