From 2987fb3b45d445e60fe136bd7a3cee94ff8f26ca Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Thu, 30 Jul 2020 12:21:49 +0200 Subject: [PATCH] Improve the `EditorInterface.get_editor_viewport()` description This closes https://github.com/godotengine/godot-docs/issues/1109. (cherry picked from commit 60d40d84302b15ffe387030ef32067ad3520b359) --- doc/classes/EditorInterface.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/classes/EditorInterface.xml b/doc/classes/EditorInterface.xml index 7a236837fbd..aadbeb07085 100644 --- a/doc/classes/EditorInterface.xml +++ b/doc/classes/EditorInterface.xml @@ -51,8 +51,8 @@ - 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.