1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

Fix various typos with codespell

Using 2.2.6.dev193+g907e5380.
This commit is contained in:
Rémi Verschelde
2023-09-18 09:53:39 +02:00
parent 4df80b0e62
commit 3e233e1f24
4 changed files with 5 additions and 5 deletions

View File

@@ -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"), "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)); 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, // This prevents the first button's hover/pressed effect from "touching" the panel's border,
// which looks ugly. // which looks ugly.
MarginContainer *toolbar_margin = memnew(MarginContainer); MarginContainer *toolbar_margin = memnew(MarginContainer);

View File

@@ -8197,7 +8197,7 @@ Node3DEditor::Node3DEditor() {
camera_override_viewport_id = 0; 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, // This prevents the first button's hover/pressed effect from "touching" the panel's border,
// which looks ugly. // which looks ugly.
MarginContainer *toolbar_margin = memnew(MarginContainer); MarginContainer *toolbar_margin = memnew(MarginContainer);

View File

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

View File

@@ -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. // 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) { 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. // 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) { if (p_seek && !p_is_external_seeking && cur_time == 0) {