Bind missing subresource flag in ResourceSaver
This commit is contained in:
parent
ad47ec3952
commit
31f6fad90e
2 changed files with 2 additions and 0 deletions
|
@ -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; }
|
||||||
|
|
Loading…
Reference in a new issue