Cleanup: correct typos

_No response_

Pull Request: https://projects.blender.org/blender/blender/pulls/137009
This commit is contained in:
Jesse Yurkovich
2025-04-04 22:58:10 +02:00
committed by Jesse Yurkovich
parent 68198e09f2
commit 40cbc09d56
2 changed files with 4 additions and 4 deletions

View File

@@ -401,7 +401,7 @@ void GHOST_NDOFManager::updateRotation(const int r[3], uint64_t time)
static CLG_LogRef LOG_NDOF_BUTTONS = {"ghost.ndof.buttons"};
#define LOG (&LOG_NDOF_BUTTONS)
static GHOST_TKey ghost_map_keyboard_from_ndof_buttom(const GHOST_NDOF_ButtonT button)
static GHOST_TKey ghost_map_keyboard_from_ndof_button(const GHOST_NDOF_ButtonT button)
{
switch (button) {
case GHOST_NDOF_BUTTON_ESC: {
@@ -528,7 +528,7 @@ void GHOST_NDOFManager::updateButton(GHOST_NDOF_ButtonT button, bool press, uint
/* Delivery will fail, so don't bother sending. */
if (window != nullptr) {
const GHOST_TKey key = ghost_map_keyboard_from_ndof_buttom(button);
const GHOST_TKey key = ghost_map_keyboard_from_ndof_button(button);
if (key != GHOST_kKeyUnknown) {
sendKeyEvent(key, press, time, window);
}

View File

@@ -8110,7 +8110,7 @@ static void def_cmp_crop(BlenderRNA * /*brna*/, StructRNA *srna)
RNA_def_property_int_sdna(prop, nullptr, "y2");
RNA_def_property_int_funcs(prop, nullptr, "rna_NodeCrop_max_y_set", nullptr);
RNA_def_property_range(prop, 0, 10000);
RNA_def_property_ui_text(prop, "Y2", "Buttom edge of the cropping rectangle");
RNA_def_property_ui_text(prop, "Y2", "Bottom edge of the cropping rectangle");
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update");
prop = RNA_def_property(srna, "rel_min_x", PROP_FLOAT, PROP_NONE);
@@ -8138,7 +8138,7 @@ static void def_cmp_crop(BlenderRNA * /*brna*/, StructRNA *srna)
RNA_def_property_float_sdna(prop, nullptr, "fac_y2");
RNA_def_property_float_funcs(prop, nullptr, "rna_NodeCrop_rel_max_y_set", nullptr);
RNA_def_property_range(prop, 0.0, 1.0);
RNA_def_property_ui_text(prop, "Y2", "Buttom edge of the cropping rectangle");
RNA_def_property_ui_text(prop, "Y2", "Bottom edge of the cropping rectangle");
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update");
}