You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-23 15:16:17 +00:00
Bind missing subresource flag in ResourceSaver
This commit is contained in:
@@ -180,6 +180,7 @@ void _ResourceSaver::_bind_methods() {
|
|||||||
BIND_ENUM_CONSTANT(FLAG_OMIT_EDITOR_PROPERTIES);
|
BIND_ENUM_CONSTANT(FLAG_OMIT_EDITOR_PROPERTIES);
|
||||||
BIND_ENUM_CONSTANT(FLAG_SAVE_BIG_ENDIAN);
|
BIND_ENUM_CONSTANT(FLAG_SAVE_BIG_ENDIAN);
|
||||||
BIND_ENUM_CONSTANT(FLAG_COMPRESS);
|
BIND_ENUM_CONSTANT(FLAG_COMPRESS);
|
||||||
|
BIND_ENUM_CONSTANT(FLAG_REPLACE_SUBRESOURCE_PATHS);
|
||||||
}
|
}
|
||||||
|
|
||||||
_ResourceSaver::_ResourceSaver() {
|
_ResourceSaver::_ResourceSaver() {
|
||||||
|
|||||||
@@ -80,6 +80,7 @@ public:
|
|||||||
FLAG_OMIT_EDITOR_PROPERTIES = 8,
|
FLAG_OMIT_EDITOR_PROPERTIES = 8,
|
||||||
FLAG_SAVE_BIG_ENDIAN = 16,
|
FLAG_SAVE_BIG_ENDIAN = 16,
|
||||||
FLAG_COMPRESS = 32,
|
FLAG_COMPRESS = 32,
|
||||||
|
FLAG_REPLACE_SUBRESOURCE_PATHS = 64,
|
||||||
};
|
};
|
||||||
|
|
||||||
static _ResourceSaver *get_singleton() { return singleton; }
|
static _ResourceSaver *get_singleton() { return singleton; }
|
||||||
|
|||||||
Reference in New Issue
Block a user