Skip to content

Commit 76c8e76

Browse files
committed
Merge pull request #101284 from akx/tyops
A handful of typo fixes
2 parents cc3a32b + f134769 commit 76c8e76

File tree

86 files changed

+398
-398
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+398
-398
lines changed

SConstruct

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ opts.Add(BoolVariable("threads", "Enable threading support", True))
195195
opts.Add(BoolVariable("deprecated", "Enable compatibility code for deprecated and removed features", True))
196196
opts.Add(EnumVariable("precision", "Set the floating-point precision level", "single", ("single", "double")))
197197
opts.Add(BoolVariable("minizip", "Enable ZIP archive support using minizip", True))
198-
opts.Add(BoolVariable("brotli", "Enable Brotli for decompresson and WOFF2 fonts support", True))
198+
opts.Add(BoolVariable("brotli", "Enable Brotli for decompression and WOFF2 fonts support", True))
199199
opts.Add(BoolVariable("xaudio2", "Enable the XAudio2 audio driver on supported platforms", False))
200200
opts.Add(BoolVariable("vulkan", "Enable the vulkan rendering driver", True))
201201
opts.Add(BoolVariable("opengl3", "Enable the OpenGL/GLES3 rendering driver", True))

core/math/delaunay_3d.h

+6-6
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ class Delaunay3D {
135135
R128 row3_y = v3_y - v0_y;
136136
R128 row3_z = v3_z - v0_z;
137137

138-
R128 sq_lenght1 = row1_x * row1_x + row1_y * row1_y + row1_z * row1_z;
139-
R128 sq_lenght2 = row2_x * row2_x + row2_y * row2_y + row2_z * row2_z;
140-
R128 sq_lenght3 = row3_x * row3_x + row3_y * row3_y + row3_z * row3_z;
138+
R128 sq_length1 = row1_x * row1_x + row1_y * row1_y + row1_z * row1_z;
139+
R128 sq_length2 = row2_x * row2_x + row2_y * row2_y + row2_z * row2_z;
140+
R128 sq_length3 = row3_x * row3_x + row3_y * row3_y + row3_z * row3_z;
141141

142142
// Compute the determinant of said matrix.
143143
R128 determinant = row1_x * (row2_y * row3_z - row3_y * row2_z) - row2_x * (row1_y * row3_z - row3_y * row1_z) + row3_x * (row1_y * row2_z - row2_y * row1_z);
@@ -146,9 +146,9 @@ class Delaunay3D {
146146
R128 volume = determinant / R128(6.f);
147147
R128 i12volume = R128(1.f) / (volume * R128(12.f));
148148

149-
R128 center_x = v0_x + i12volume * ((row2_y * row3_z - row3_y * row2_z) * sq_lenght1 - (row1_y * row3_z - row3_y * row1_z) * sq_lenght2 + (row1_y * row2_z - row2_y * row1_z) * sq_lenght3);
150-
R128 center_y = v0_y + i12volume * (-(row2_x * row3_z - row3_x * row2_z) * sq_lenght1 + (row1_x * row3_z - row3_x * row1_z) * sq_lenght2 - (row1_x * row2_z - row2_x * row1_z) * sq_lenght3);
151-
R128 center_z = v0_z + i12volume * ((row2_x * row3_y - row3_x * row2_y) * sq_lenght1 - (row1_x * row3_y - row3_x * row1_y) * sq_lenght2 + (row1_x * row2_y - row2_x * row1_y) * sq_lenght3);
149+
R128 center_x = v0_x + i12volume * ((row2_y * row3_z - row3_y * row2_z) * sq_length1 - (row1_y * row3_z - row3_y * row1_z) * sq_length2 + (row1_y * row2_z - row2_y * row1_z) * sq_length3);
150+
R128 center_y = v0_y + i12volume * (-(row2_x * row3_z - row3_x * row2_z) * sq_length1 + (row1_x * row3_z - row3_x * row1_z) * sq_length2 - (row1_x * row2_z - row2_x * row1_z) * sq_length3);
151+
R128 center_z = v0_z + i12volume * ((row2_x * row3_y - row3_x * row2_y) * sq_length1 - (row1_x * row3_y - row3_x * row1_y) * sq_length2 + (row1_x * row2_y - row2_x * row1_y) * sq_length3);
152152

153153
// Once we know the center, the radius is clearly the distance to any vertex.
154154
R128 rel1_x = center_x - v0_x;

core/templates/rid_owner.h

+6-6
Original file line numberDiff line numberDiff line change
@@ -417,8 +417,8 @@ class RID_Alloc : public RID_AllocBase {
417417
}
418418
}
419419

420-
void set_description(const char *p_descrption) {
421-
description = p_descrption;
420+
void set_description(const char *p_description) {
421+
description = p_description;
422422
}
423423

424424
RID_Alloc(uint32_t p_target_chunk_byte_size = 65536, uint32_t p_maximum_number_of_elements = 262144) {
@@ -515,8 +515,8 @@ class RID_PtrOwner {
515515
alloc.fill_owned_buffer(p_rid_buffer);
516516
}
517517

518-
void set_description(const char *p_descrption) {
519-
alloc.set_description(p_descrption);
518+
void set_description(const char *p_description) {
519+
alloc.set_description(p_description);
520520
}
521521

522522
RID_PtrOwner(uint32_t p_target_chunk_byte_size = 65536, uint32_t p_maximum_number_of_elements = 262144) :
@@ -570,8 +570,8 @@ class RID_Owner {
570570
alloc.fill_owned_buffer(p_rid_buffer);
571571
}
572572

573-
void set_description(const char *p_descrption) {
574-
alloc.set_description(p_descrption);
573+
void set_description(const char *p_description) {
574+
alloc.set_description(p_description);
575575
}
576576
RID_Owner(uint32_t p_target_chunk_byte_size = 65536, uint32_t p_maximum_number_of_elements = 262144) :
577577
alloc(p_target_chunk_byte_size, p_maximum_number_of_elements) {}

core/variant/variant_setget.cpp

+15-15
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ Variant Variant::get_named(const StringName &p_member, bool &r_valid) const {
479479
} \
480480
};
481481

482-
#define INDEXED_SETGET_STRUCT_BULTIN_NUMERIC(m_base_type, m_elem_type, m_assign_type, m_max) \
482+
#define INDEXED_SETGET_STRUCT_BUILTIN_NUMERIC(m_base_type, m_elem_type, m_assign_type, m_max) \
483483
struct VariantIndexedSetGet_##m_base_type { \
484484
static void get(const Variant *base, int64_t index, Variant *value, bool *oob) { \
485485
if (index < 0 || index >= m_max) { \
@@ -541,7 +541,7 @@ Variant Variant::get_named(const StringName &p_member, bool &r_valid) const {
541541
} \
542542
};
543543

544-
#define INDEXED_SETGET_STRUCT_BULTIN_ACCESSOR(m_base_type, m_elem_type, m_accessor, m_max) \
544+
#define INDEXED_SETGET_STRUCT_BUILTIN_ACCESSOR(m_base_type, m_elem_type, m_accessor, m_max) \
545545
struct VariantIndexedSetGet_##m_base_type { \
546546
static void get(const Variant *base, int64_t index, Variant *value, bool *oob) { \
547547
if (index < 0 || index >= m_max) { \
@@ -597,7 +597,7 @@ Variant Variant::get_named(const StringName &p_member, bool &r_valid) const {
597597
} \
598598
};
599599

600-
#define INDEXED_SETGET_STRUCT_BULTIN_FUNC(m_base_type, m_elem_type, m_set, m_get, m_max) \
600+
#define INDEXED_SETGET_STRUCT_BUILTIN_FUNC(m_base_type, m_elem_type, m_set, m_get, m_max) \
601601
struct VariantIndexedSetGet_##m_base_type { \
602602
static void get(const Variant *base, int64_t index, Variant *value, bool *oob) { \
603603
if (index < 0 || index >= m_max) { \
@@ -844,18 +844,18 @@ struct VariantIndexedSetGet_String {
844844
static uint64_t get_indexed_size(const Variant *base) { return VariantInternal::get_string(base)->length(); }
845845
};
846846

847-
INDEXED_SETGET_STRUCT_BULTIN_NUMERIC(Vector2, double, real_t, 2)
848-
INDEXED_SETGET_STRUCT_BULTIN_NUMERIC(Vector2i, int64_t, int32_t, 2)
849-
INDEXED_SETGET_STRUCT_BULTIN_NUMERIC(Vector3, double, real_t, 3)
850-
INDEXED_SETGET_STRUCT_BULTIN_NUMERIC(Vector3i, int64_t, int32_t, 3)
851-
INDEXED_SETGET_STRUCT_BULTIN_NUMERIC(Vector4, double, real_t, 4)
852-
INDEXED_SETGET_STRUCT_BULTIN_NUMERIC(Vector4i, int64_t, int32_t, 4)
853-
INDEXED_SETGET_STRUCT_BULTIN_NUMERIC(Quaternion, double, real_t, 4)
854-
INDEXED_SETGET_STRUCT_BULTIN_NUMERIC(Color, double, float, 4)
855-
856-
INDEXED_SETGET_STRUCT_BULTIN_ACCESSOR(Transform2D, Vector2, .columns, 3)
857-
INDEXED_SETGET_STRUCT_BULTIN_FUNC(Basis, Vector3, set_column, get_column, 3)
858-
INDEXED_SETGET_STRUCT_BULTIN_ACCESSOR(Projection, Vector4, .columns, 4)
847+
INDEXED_SETGET_STRUCT_BUILTIN_NUMERIC(Vector2, double, real_t, 2)
848+
INDEXED_SETGET_STRUCT_BUILTIN_NUMERIC(Vector2i, int64_t, int32_t, 2)
849+
INDEXED_SETGET_STRUCT_BUILTIN_NUMERIC(Vector3, double, real_t, 3)
850+
INDEXED_SETGET_STRUCT_BUILTIN_NUMERIC(Vector3i, int64_t, int32_t, 3)
851+
INDEXED_SETGET_STRUCT_BUILTIN_NUMERIC(Vector4, double, real_t, 4)
852+
INDEXED_SETGET_STRUCT_BUILTIN_NUMERIC(Vector4i, int64_t, int32_t, 4)
853+
INDEXED_SETGET_STRUCT_BUILTIN_NUMERIC(Quaternion, double, real_t, 4)
854+
INDEXED_SETGET_STRUCT_BUILTIN_NUMERIC(Color, double, float, 4)
855+
856+
INDEXED_SETGET_STRUCT_BUILTIN_ACCESSOR(Transform2D, Vector2, .columns, 3)
857+
INDEXED_SETGET_STRUCT_BUILTIN_FUNC(Basis, Vector3, set_column, get_column, 3)
858+
INDEXED_SETGET_STRUCT_BUILTIN_ACCESSOR(Projection, Vector4, .columns, 4)
859859

860860
INDEXED_SETGET_STRUCT_TYPED_NUMERIC(PackedByteArray, int64_t, uint8_t)
861861
INDEXED_SETGET_STRUCT_TYPED_NUMERIC(PackedInt32Array, int64_t, int32_t)

doc/Doxyfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1475,7 +1475,7 @@ EXT_LINKS_IN_WINDOW = NO
14751475

14761476
FORMULA_FONTSIZE = 10
14771477

1478-
# Use the FORMULA_TRANPARENT tag to determine whether or not the images
1478+
# Use the FORMULA_TRANSPARENT tag to determine whether or not the images
14791479
# generated for formulas are transparent PNGs. Transparent PNGs are not
14801480
# supported properly for IE 6.0, but are supported on all modern browsers.
14811481
#

doc/classes/RenderingServer.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1280,7 +1280,7 @@
12801280
<param index="1" name="color" type="Color" />
12811281
<param index="2" name="ambient" type="int" enum="RenderingServer.EnvironmentAmbientSource" default="0" />
12821282
<param index="3" name="energy" type="float" default="1.0" />
1283-
<param index="4" name="sky_contibution" type="float" default="0.0" />
1283+
<param index="4" name="sky_contribution" type="float" default="0.0" />
12841284
<param index="5" name="reflection_source" type="int" enum="RenderingServer.EnvironmentReflectionSource" default="0" />
12851285
<description>
12861286
Sets the values to be used for ambient light rendering. See [Environment] for more details.

drivers/d3d12/rendering_device_driver_d3d12.cpp

+7-7
Original file line numberDiff line numberDiff line change
@@ -1660,7 +1660,7 @@ bool RenderingDeviceDriverD3D12::texture_can_make_shared_with_format(TextureID p
16601660
/**** SAMPLER ****/
16611661
/*****************/
16621662

1663-
static const D3D12_TEXTURE_ADDRESS_MODE RD_REPEAT_MODE_TO_D3D12_ADDRES_MODE[RDD::SAMPLER_REPEAT_MODE_MAX] = {
1663+
static const D3D12_TEXTURE_ADDRESS_MODE RD_REPEAT_MODE_TO_D3D12_ADDRESS_MODE[RDD::SAMPLER_REPEAT_MODE_MAX] = {
16641664
D3D12_TEXTURE_ADDRESS_MODE_WRAP,
16651665
D3D12_TEXTURE_ADDRESS_MODE_MIRROR,
16661666
D3D12_TEXTURE_ADDRESS_MODE_CLAMP,
@@ -1715,9 +1715,9 @@ RDD::SamplerID RenderingDeviceDriverD3D12::sampler_create(const SamplerState &p_
17151715
p_state.enable_compare ? D3D12_FILTER_REDUCTION_TYPE_COMPARISON : D3D12_FILTER_REDUCTION_TYPE_STANDARD);
17161716
}
17171717

1718-
sampler_desc.AddressU = RD_REPEAT_MODE_TO_D3D12_ADDRES_MODE[p_state.repeat_u];
1719-
sampler_desc.AddressV = RD_REPEAT_MODE_TO_D3D12_ADDRES_MODE[p_state.repeat_v];
1720-
sampler_desc.AddressW = RD_REPEAT_MODE_TO_D3D12_ADDRES_MODE[p_state.repeat_w];
1718+
sampler_desc.AddressU = RD_REPEAT_MODE_TO_D3D12_ADDRESS_MODE[p_state.repeat_u];
1719+
sampler_desc.AddressV = RD_REPEAT_MODE_TO_D3D12_ADDRESS_MODE[p_state.repeat_v];
1720+
sampler_desc.AddressW = RD_REPEAT_MODE_TO_D3D12_ADDRESS_MODE[p_state.repeat_w];
17211721

17221722
for (int i = 0; i < 4; i++) {
17231723
sampler_desc.BorderColor[i] = RD_TO_D3D12_SAMPLER_BORDER_COLOR[p_state.border_color][i];
@@ -3811,7 +3811,7 @@ void RenderingDeviceDriverD3D12::shader_destroy_modules(ShaderID p_shader) {
38113811
/**** UNIFORM SET ****/
38123812
/*********************/
38133813

3814-
static void _add_descriptor_count_for_uniform(RenderingDevice::UniformType p_type, uint32_t p_binding_length, bool p_dobule_srv_uav_ambiguous, uint32_t &r_num_resources, uint32_t &r_num_samplers, bool &r_srv_uav_ambiguity) {
3814+
static void _add_descriptor_count_for_uniform(RenderingDevice::UniformType p_type, uint32_t p_binding_length, bool p_double_srv_uav_ambiguous, uint32_t &r_num_resources, uint32_t &r_num_samplers, bool &r_srv_uav_ambiguity) {
38153815
r_srv_uav_ambiguity = false;
38163816

38173817
// Some resource types can be SRV or UAV, depending on what NIR-DXIL decided for a specific shader variant.
@@ -3832,11 +3832,11 @@ static void _add_descriptor_count_for_uniform(RenderingDevice::UniformType p_typ
38323832
r_num_resources += 1;
38333833
} break;
38343834
case RenderingDevice::UNIFORM_TYPE_STORAGE_BUFFER: {
3835-
r_num_resources += p_dobule_srv_uav_ambiguous ? 2 : 1;
3835+
r_num_resources += p_double_srv_uav_ambiguous ? 2 : 1;
38363836
r_srv_uav_ambiguity = true;
38373837
} break;
38383838
case RenderingDevice::UNIFORM_TYPE_IMAGE: {
3839-
r_num_resources += p_binding_length * (p_dobule_srv_uav_ambiguous ? 2 : 1);
3839+
r_num_resources += p_binding_length * (p_double_srv_uav_ambiguous ? 2 : 1);
38403840
r_srv_uav_ambiguity = true;
38413841
} break;
38423842
default: {

drivers/gles3/storage/light_storage.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ class LightStorage : public RendererLightStorage {
757757
virtual void shadow_atlas_free(RID p_atlas) override;
758758
virtual void shadow_atlas_set_size(RID p_atlas, int p_size, bool p_16_bits = true) override;
759759
virtual void shadow_atlas_set_quadrant_subdivision(RID p_atlas, int p_quadrant, int p_subdivision) override;
760-
virtual bool shadow_atlas_update_light(RID p_atlas, RID p_light_intance, float p_coverage, uint64_t p_light_version) override;
760+
virtual bool shadow_atlas_update_light(RID p_atlas, RID p_light_instance, float p_coverage, uint64_t p_light_version) override;
761761

762762
_FORCE_INLINE_ bool shadow_atlas_owns_light_instance(RID p_atlas, RID p_light_instance) {
763763
ShadowAtlas *atlas = shadow_atlas_owner.get_or_null(p_atlas);
@@ -883,7 +883,7 @@ class LightStorage : public RendererLightStorage {
883883
virtual void shadow_atlas_update(RID p_atlas) override;
884884

885885
virtual void directional_shadow_atlas_set_size(int p_size, bool p_16_bits = true) override;
886-
virtual int get_directional_light_shadow_size(RID p_light_intance) override;
886+
virtual int get_directional_light_shadow_size(RID p_light_instance) override;
887887
virtual void set_directional_shadow_count(int p_count) override;
888888

889889
Rect2i get_directional_shadow_rect();

drivers/metal/pixel_formats.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ class API_AVAILABLE(macos(11.0), ios(14.0)) PixelFormats {
274274
MTLFormatType getFormatType(DataFormat p_format);
275275

276276
/** Returns the format type corresponding to the specified Metal MTLPixelFormat, */
277-
MTLFormatType getFormatType(MTLPixelFormat p_formt);
277+
MTLFormatType getFormatType(MTLPixelFormat p_format);
278278

279279
/**
280280
* Returns the Metal MTLPixelFormat corresponding to the specified Godot pixel

drivers/metal/pixel_formats.mm

+2-2
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ void clear(T *p_val, size_t p_count = 1) {
144144
return getDataFormatDesc(p_format).formatType;
145145
}
146146

147-
MTLFormatType PixelFormats::getFormatType(MTLPixelFormat p_formt) {
148-
return getDataFormatDesc(p_formt).formatType;
147+
MTLFormatType PixelFormats::getFormatType(MTLPixelFormat p_format) {
148+
return getDataFormatDesc(p_format).formatType;
149149
}
150150

151151
MTLPixelFormat PixelFormats::getMTLPixelFormat(DataFormat p_format) {

editor/animation_track_editor_plugins.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -417,8 +417,8 @@ Rect2 AnimationTrackEditSpriteFrame::get_key_rect(int p_index, float p_pixels_se
417417
animation_path = animation_path.replace(":frame", ":animation");
418418
int animation_track = get_animation()->find_track(animation_path, get_animation()->track_get_type(get_track()));
419419
float track_time = get_animation()->track_get_key_time(get_track(), p_index);
420-
int animaiton_index = get_animation()->track_find_key(animation_track, track_time);
421-
animation_name = get_animation()->track_get_key_value(animation_track, animaiton_index);
420+
int animation_index = get_animation()->track_find_key(animation_track, track_time);
421+
animation_name = get_animation()->track_get_key_value(animation_track, animation_index);
422422
}
423423

424424
Ref<Texture2D> texture = sf->get_frame_texture(animation_name, frame);
@@ -509,8 +509,8 @@ void AnimationTrackEditSpriteFrame::draw_key(int p_index, float p_pixels_sec, in
509509
animation_path = animation_path.replace(":frame", ":animation");
510510
int animation_track = get_animation()->find_track(animation_path, get_animation()->track_get_type(get_track()));
511511
float track_time = get_animation()->track_get_key_time(get_track(), p_index);
512-
int animaiton_index = get_animation()->track_find_key(animation_track, track_time);
513-
animation_name = get_animation()->track_get_key_value(animation_track, animaiton_index);
512+
int animation_index = get_animation()->track_find_key(animation_track, track_time);
513+
animation_name = get_animation()->track_get_key_value(animation_track, animation_index);
514514
}
515515

516516
texture = sf->get_frame_texture(animation_name, frame);

editor/doc_tools.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ static String _translate_doc_string(const String &p_text) {
7575
return translated.indent(indent);
7676
}
7777

78-
// Comparator for constructors, based on `MetodDoc` operator.
78+
// Comparator for constructors, based on `MethodDoc` operator.
7979
struct ConstructorCompare {
8080
_FORCE_INLINE_ bool operator()(const DocData::MethodDoc &p_lhs, const DocData::MethodDoc &p_rhs) const {
8181
// Must be a constructor (i.e. assume named for the class)

editor/export/codesign.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ class CodeSignCodeDirectory : public CodeSignBlob {
275275
uint32_t spare3; // Not used.
276276
uint64_t code_limit_64; // Set to 0 and ignore.
277277
// Version 0x20400
278-
uint64_t exec_seg_base; // Start of the signed code segmet.
278+
uint64_t exec_seg_base; // Start of the signed code segment.
279279
uint64_t exec_seg_limit; // Code segment (__TEXT) vmsize.
280280
uint64_t exec_seg_flags; // Executable segment flags.
281281
// Version 0x20500

editor/filesystem_dock.cpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,15 @@ Control *FileSystemList::make_custom_tooltip(const String &p_text) const {
8282
}
8383

8484
void FileSystemList::_line_editor_submit(const String &p_text) {
85-
if (popup_edit_commited) {
85+
if (popup_edit_committed) {
8686
return; // Already processed by _text_editor_popup_modal_close
8787
}
8888

8989
if (popup_editor->get_hide_reason() == Popup::HIDE_REASON_CANCELED) {
9090
return; // ESC pressed, app focus lost, or forced close from code.
9191
}
9292

93-
popup_edit_commited = true; // End edit popup processing.
93+
popup_edit_committed = true; // End edit popup processing.
9494
popup_editor->hide();
9595

9696
emit_signal(SNAME("item_edited"));
@@ -139,7 +139,7 @@ bool FileSystemList::edit_selected() {
139139
line_editor->set_text(name);
140140
line_editor->select(0, name.rfind_char('.'));
141141

142-
popup_edit_commited = false; // Start edit popup processing.
142+
popup_edit_committed = false; // Start edit popup processing.
143143
popup_editor->popup();
144144
popup_editor->child_controls_changed();
145145
line_editor->grab_focus();
@@ -151,7 +151,7 @@ String FileSystemList::get_edit_text() {
151151
}
152152

153153
void FileSystemList::_text_editor_popup_modal_close() {
154-
if (popup_edit_commited) {
154+
if (popup_edit_committed) {
155155
return; // Already processed by _text_editor_popup_modal_close
156156
}
157157

@@ -1184,7 +1184,7 @@ HashSet<String> FileSystemDock::_get_valid_conversions_for_file_paths(const Vect
11841184
return HashSet<String>();
11851185
}
11861186

1187-
// Get a list of all potentional conversion-to targets.
1187+
// Get a list of all potential conversion-to targets.
11881188
HashSet<String> current_valid_conversion_to_targets;
11891189
for (const Ref<EditorResourceConversionPlugin> &E : conversions) {
11901190
const String what = E->converts_to();

editor/filesystem_dock.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class FileSystemTree : public Tree {
6060
class FileSystemList : public ItemList {
6161
GDCLASS(FileSystemList, ItemList);
6262

63-
bool popup_edit_commited = true;
63+
bool popup_edit_committed = true;
6464
VBoxContainer *popup_editor_vb = nullptr;
6565
Popup *popup_editor = nullptr;
6666
LineEdit *line_editor = nullptr;

editor/import/3d/post_import_plugin_skeleton_rest_fixer.cpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -645,13 +645,13 @@ void PostImportPluginSkeletonRestFixer::internal_process(InternalImportCategory
645645
// Scan descendants for mapped bones.
646646
bool found_mapped = false;
647647

648-
Vector<int> decendants_to_process = src_skeleton->get_bone_children(src_idx);
649-
while (decendants_to_process.size() > 0) {
650-
int desc_idx = decendants_to_process[0];
651-
decendants_to_process.erase(desc_idx);
648+
Vector<int> descendants_to_process = src_skeleton->get_bone_children(src_idx);
649+
while (descendants_to_process.size() > 0) {
650+
int desc_idx = descendants_to_process[0];
651+
descendants_to_process.erase(desc_idx);
652652
Vector<int> desc_children = src_skeleton->get_bone_children(desc_idx);
653653
for (const int &desc_child : desc_children) {
654-
decendants_to_process.push_back(desc_child);
654+
descendants_to_process.push_back(desc_child);
655655
}
656656

657657
StringName desc_bone_name = is_renamed ? StringName(src_skeleton->get_bone_name(desc_idx)) : bone_map->find_profile_bone_name(src_skeleton->get_bone_name(desc_idx));

0 commit comments

Comments
 (0)