Browse Source

Merge pull request #41659 from umarcor/doc/FileDialog/warning-sandbox

doc/FileDialog: warn about access limitations in sandboxed apps
Rémi Verschelde 5 years ago
parent
commit
c55df5c016
1 changed files with 1 additions and 0 deletions
  1. 1 0
      doc/classes/FileDialog.xml

+ 1 - 0
doc/classes/FileDialog.xml

@@ -57,6 +57,7 @@
 	<members>
 	<members>
 		<member name="access" type="int" setter="set_access" getter="get_access" enum="FileDialog.Access" default="0">
 		<member name="access" type="int" setter="set_access" getter="get_access" enum="FileDialog.Access" default="0">
 			The file system access scope. See enum [code]Access[/code] constants.
 			The file system access scope. See enum [code]Access[/code] constants.
+			[b]Warning:[/b] Currently, in sandboxed environments such as HTML5 builds or sandboxed macOS apps, FileDialog cannot access the host file system. See [url=https://github.com/godotengine/godot-proposals/issues/1123]godot-proposals#1123[/url].
 		</member>
 		</member>
 		<member name="current_dir" type="String" setter="set_current_dir" getter="get_current_dir" default="&quot;res://&quot;">
 		<member name="current_dir" type="String" setter="set_current_dir" getter="get_current_dir" default="&quot;res://&quot;">
 			The current working directory of the file dialog.
 			The current working directory of the file dialog.