소스 검색

Merge pull request #40874 from Calinou/doc-editorinterface-get_editor_viewport

Improve the `EditorInterface.get_editor_viewport()` description
Rémi Verschelde 5 년 전
부모
커밋
829039d8b1
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      doc/classes/EditorInterface.xml

+ 2 - 2
doc/classes/EditorInterface.xml

@@ -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">