Browse Source

Fix various typos with codespell

Using 2.2.6.dev193+g907e5380.
Rémi Verschelde 2 years ago
parent
commit
3e233e1f24

+ 1 - 1
editor/plugins/canvas_item_editor_plugin.cpp

@@ -5054,7 +5054,7 @@ CanvasItemEditor::CanvasItemEditor() {
 	EditorRunBar::get_singleton()->call_deferred(SNAME("connect"), "play_pressed", callable_mp(this, &CanvasItemEditor::_update_override_camera_button).bind(true));
 	EditorRunBar::get_singleton()->call_deferred(SNAME("connect"), "stop_pressed", callable_mp(this, &CanvasItemEditor::_update_override_camera_button).bind(false));
 
-	// Add some margin to the sides for better aesthetics.
+	// Add some margin to the sides for better esthetics.
 	// This prevents the first button's hover/pressed effect from "touching" the panel's border,
 	// which looks ugly.
 	MarginContainer *toolbar_margin = memnew(MarginContainer);

+ 1 - 1
editor/plugins/node_3d_editor_plugin.cpp

@@ -8197,7 +8197,7 @@ Node3DEditor::Node3DEditor() {
 
 	camera_override_viewport_id = 0;
 
-	// Add some margin to the sides for better aesthetics.
+	// Add some margin to the sides for better esthetics.
 	// This prevents the first button's hover/pressed effect from "touching" the panel's border,
 	// which looks ugly.
 	MarginContainer *toolbar_margin = memnew(MarginContainer);

+ 2 - 2
modules/openxr/openxr_api.cpp

@@ -2921,8 +2921,8 @@ bool OpenXRAPI::is_environment_blend_mode_supported(XrEnvironmentBlendMode p_ble
 }
 
 bool OpenXRAPI::set_environment_blend_mode(XrEnvironmentBlendMode p_blend_mode) {
-	// We allow setting this when not initialised and will check if it is supported when initialising.
-	// After OpenXR is initialised we verify we're setting a supported blend mode.
+	// We allow setting this when not initialized and will check if it is supported when initializing.
+	// After OpenXR is initialized we verify we're setting a supported blend mode.
 	if (!is_initialized() || is_environment_blend_mode_supported(p_blend_mode)) {
 		environment_blend_mode = p_blend_mode;
 		return true;

+ 1 - 1
scene/animation/animation_blend_tree.cpp

@@ -149,7 +149,7 @@ double AnimationNodeAnimation::_process(double p_time, bool p_seek, bool p_is_ex
 		}
 
 		// Emit start & finish signal. Internally, the detections are the same for backward.
-		// We should use call_deferred since the track keys are still being prosessed.
+		// We should use call_deferred since the track keys are still being processed.
 		if (state->tree && !p_test_only) {
 			// AnimationTree uses seek to 0 "internally" to process the first key of the animation, which is used as the start detection.
 			if (p_seek && !p_is_external_seeking && cur_time == 0) {