You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is any guarantee that get_viewport() will always return a Window? Is important because the signal files_dropped only exists in Windows, this could cause an error otherwise.
Your Godot version:
v4.4.dev3.official [f4af8201b]
Issue description:
In the signal
files_dropped
, the example useget_viewport()
:Wouldn't be more appropriated to use
get_window()
?There is any guarantee that
get_viewport()
will always return a Window? Is important because the signalfiles_dropped
only exists in Windows, this could cause an error otherwise.URL to the documentation page:
https://docs.godotengine.org/en/stable/classes/class_window.html#class-window-signal-files-dropped
The text was updated successfully, but these errors were encountered: