From f9d4f080901ffbe1b4cc92728c0bc41074068359 Mon Sep 17 00:00:00 2001 From: Pierre-Thomas Meisels Date: Thu, 10 Feb 2022 20:11:40 +0100 Subject: Fix ResourceSaver::save method exposition flag parameter enh: Add FLAG_NONE to SaverFlags in ResourceSaver to fix api inconsistency fix: flags parameter of ResourceSaver::save is now uint32_t to allow flag composition in scripts --- doc/classes/ResourceSaver.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/classes/ResourceSaver.xml b/doc/classes/ResourceSaver.xml index 39f166db2e..a7723c3f8d 100644 --- a/doc/classes/ResourceSaver.xml +++ b/doc/classes/ResourceSaver.xml @@ -21,15 +21,18 @@ - + Saves a resource to disk to the given path, using a [ResourceFormatSaver] that recognizes the resource object. - The [code]flags[/code] bitmask can be specified to customize the save behavior. + The [code]flags[/code] bitmask can be specified to customize the save behavior using [enum SaverFlags] flags. Returns [constant OK] on success. + + No resource saving option. + Save the resource with a path relative to the scene which uses it. -- cgit v1.2.3