Improve the EditorInterface.get_editor_viewport() description

This closes https://github.com/godotengine/godot-docs/issues/1109.

(cherry picked from commit 60d40d8430)
This commit is contained in:
Hugo Locurcio 2020-07-30 12:21:49 +02:00 committed by Rémi Verschelde
parent 2494224f96
commit 2987fb3b45

View File

@ -51,8 +51,8 @@
<return type="Control">
</return>
<description>
Returns the editor's [Viewport] instance.
[b]Note:[/b] This returns the main editor viewport containing the whole editor, not the 2D or 3D viewports specifically.
Returns the main editor control. Use this as a parent for main screens.
[b]Note:[/b] This returns the main editor control containing the whole editor, not the 2D or 3D viewports specifically.
</description>
</method>
<method name="get_file_system_dock">