summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-09-18 09:53:39 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-09-18 09:53:39 +0200
commit3e233e1f2417b6831220c950ab4747b6c47cbda8 (patch)
treeaf33d75cdcba45841693012bfa8a02d09a5da4b8
parent4df80b0e629e25653a706f6721c13a1f9d1da368 (diff)
downloadredot-engine-3e233e1f2417b6831220c950ab4747b6c47cbda8.tar.gz
Fix various typos with codespell
Using 2.2.6.dev193+g907e5380.
-rw-r--r--editor/plugins/canvas_item_editor_plugin.cpp2
-rw-r--r--editor/plugins/node_3d_editor_plugin.cpp2
-rw-r--r--modules/openxr/openxr_api.cpp4
-rw-r--r--scene/animation/animation_blend_tree.cpp2
4 files changed, 5 insertions, 5 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp
index b0eaae3211..91f403bc49 100644
--- a/editor/plugins/canvas_item_editor_plugin.cpp
+++ b/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);
diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp
index 5804aed45e..404f465015 100644
--- a/editor/plugins/node_3d_editor_plugin.cpp
+++ b/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);
diff --git a/modules/openxr/openxr_api.cpp b/modules/openxr/openxr_api.cpp
index 32abc0a1c7..1f1c7e4ee0 100644
--- a/modules/openxr/openxr_api.cpp
+++ b/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;
diff --git a/scene/animation/animation_blend_tree.cpp b/scene/animation/animation_blend_tree.cpp
index 8da1ef8e1d..b9cbd3cf94 100644
--- a/scene/animation/animation_blend_tree.cpp
+++ b/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) {