Просмотр исходного кода

Merge pull request #66127 from RedMser/vs-cleanup

Further cleanup of VisualScript references
Rémi Verschelde 3 лет назад
Родитель
Сommit
7a4faba136

+ 0 - 1
.github/CODEOWNERS

@@ -114,7 +114,6 @@ doc_classes/*                       @godotengine/documentation
 /modules/gdscript/                  @godotengine/gdscript
 /modules/jsonrpc/                   @godotengine/gdscript
 /modules/mono/                      @godotengine/mono
-/modules/visual_script/             @godotengine/visualscript
 
 ## Text
 /modules/freetype/                  @godotengine/buildsystem

+ 3 - 3
doc/classes/EditorSettings.xml

@@ -405,7 +405,7 @@
 			If [code]true[/code], allows panning by holding down [kbd]Space[/kbd] in the 2D editor viewport (in addition to panning with the middle or right mouse buttons). If [code]false[/code], the left mouse button must be held down while holding down [kbd]Space[/kbd] to pan in the 2D editor viewport.
 		</member>
 		<member name="editors/panning/sub_editors_panning_scheme" type="int" setter="" getter="">
-			Controls whether the mouse wheel scroll zooms or pans in subeditors. The list of affected subeditors is: animation blend tree editor, [Polygon2D] editor, tileset editor, texture region editor, visual shader editor and visual script editor. See also [member editors/panning/2d_editor_panning_scheme] and [member editors/panning/animation_editors_panning_scheme].
+			Controls whether the mouse wheel scroll zooms or pans in subeditors. The list of affected subeditors is: animation blend tree editor, [Polygon2D] editor, tileset editor, texture region editor and visual shader editor. See also [member editors/panning/2d_editor_panning_scheme] and [member editors/panning/animation_editors_panning_scheme].
 		</member>
 		<member name="editors/panning/warped_mouse_panning" type="bool" setter="" getter="">
 			If [code]true[/code], warps the mouse around the 2D viewport while panning in the 2D editor. This makes it possible to pan over a large area without having to exit panning then mouse the mouse back constantly.
@@ -424,10 +424,10 @@
 			[b]Note:[/b] Only effective if [member editors/tiles_editor/display_grid] is [code]true[/code].
 		</member>
 		<member name="editors/visual_editors/lines_curvature" type="float" setter="" getter="">
-			The curvature to use for connection lines in the visual script and visual shader editors. Higher values will make connection lines appear more curved, with values above [code]0.5[/code] resulting in more "angular" turns in the middle of connection lines.
+			The curvature to use for connection lines in the visual shader editor. Higher values will make connection lines appear more curved, with values above [code]0.5[/code] resulting in more "angular" turns in the middle of connection lines.
 		</member>
 		<member name="editors/visual_editors/minimap_opacity" type="float" setter="" getter="">
-			The opacity of the minimap displayed in the bottom-right corner of the visual script and visual shader editors.
+			The opacity of the minimap displayed in the bottom-right corner of the visual shader editor.
 		</member>
 		<member name="editors/visual_editors/visual_shader/port_preview_size" type="int" setter="" getter="">
 			The size to use for port previews in the visual shader uniforms (toggled by clicking the "eye" icon next to an output). The value is defined in pixels at 100% zoom, and will scale with zoom automatically.

+ 5 - 5
doc/classes/ScriptEditorBase.xml

@@ -19,14 +19,14 @@
 		<method name="get_base_editor" qualifiers="const">
 			<return type="Control" />
 			<description>
-				Returns the underlying [Control] used for editing scripts. This can be either [CodeEdit] (for text scripts) or [GraphEdit] (for visual scripts).
+				Returns the underlying [Control] used for editing scripts. For text scripts, this is a [CodeEdit].
 			</description>
 		</method>
 	</methods>
 	<signals>
 		<signal name="edited_script_changed">
 			<description>
-				Emitted after script validation. For visual scripts on modification.
+				Emitted after script validation.
 			</description>
 		</signal>
 		<signal name="go_to_help">
@@ -37,13 +37,13 @@
 		</signal>
 		<signal name="name_changed">
 			<description>
-				Emitted after script validation or when the edited resource has changed. Not used by visual scripts.
+				Emitted after script validation or when the edited resource has changed.
 			</description>
 		</signal>
 		<signal name="replace_in_files_requested">
 			<param index="0" name="text" type="String" />
 			<description>
-				Emitted when the user request to find and replace text in the file system. Not used by visual scripts.
+				Emitted when the user request to find and replace text in the file system.
 			</description>
 		</signal>
 		<signal name="request_help">
@@ -67,7 +67,7 @@
 		<signal name="search_in_files_requested">
 			<param index="0" name="text" type="String" />
 			<description>
-				Emitted when the user request to search text in the file system. Not used by visual scripts.
+				Emitted when the user request to search text in the file system.
 			</description>
 		</signal>
 	</signals>

+ 0 - 1
editor/icons/VisualScriptComment.svg

@@ -1 +0,0 @@
-<svg height="14" viewBox="0 0 14 14" width="14" xmlns="http://www.w3.org/2000/svg"><path d="m3 1v2h-2v2h2v4h-2v2h2v2h2v-2h4v2h2v-2h2v-2h-2v-4h2v-2h-2v-2h-2v2h-4v-2zm2 4h4v4h-4z" fill="#e0e0e0"/></svg>

+ 0 - 1
editor/icons/VisualScriptExpression.svg

@@ -1 +0,0 @@
-<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><g fill="#e0e0e0"><path d="m4.859536 3.0412379c-2.0539867 0-3.7190721 1.6650852-3.7190721 3.719072v6.1984521h2.4793814v-2.479381h2.4793814v-2.4793803h-2.4793814v-1.2396908c0-.6846622.5550285-1.2396907 1.2396907-1.2396907h1.2396907v-2.4793813z"/><path d="m7.5889175 3.0000003 2.5000005 4.9999997-2.5000005 5h2.5000005l1.135249-2.727 1.36475 2.727h2.499999l-2.499999-5 2.499999-4.9999997h-2.499999l-1.13525 2.7269998-1.364749-2.7269998zm7.4999985 9.9999997v-6.25z"/></g></svg>