Cleanup: spelling in comments

This commit is contained in:
Campbell Barton
2024-01-22 12:44:56 +11:00
parent c866c93b06
commit 5b59be81ba
5 changed files with 9 additions and 7 deletions

View File

@@ -564,7 +564,7 @@ static inline uint object_motion_steps(BL::Object &b_parent,
int steps = max(1, get_int(cobject, "motion_steps"));
/* Also check parent object, so motion blur and steps can be
* controlled by dupligroup duplicator for linked groups. */
* controlled by dupli-group duplicator for linked groups. */
if (b_parent.ptr.data != b_ob.ptr.data) {
PointerRNA parent_cobject = RNA_pointer_get(&b_parent.ptr, "cycles");
use_motion &= get_boolean(parent_cobject, "use_motion_blur");

View File

@@ -121,7 +121,7 @@ struct IDTypeInfo {
/** The user visible name for this data-block, also used as default name for a new data-block. */
const char *name;
/** Plural version of the user-visble name. */
/** Plural version of the user-visible name. */
const char *name_plural;
/** Translation context to use for UI messages related to that type of data-block. */
const char *translation_context;

View File

@@ -2455,7 +2455,7 @@ int ui_handler_panel_region(bContext *C,
continue;
}
/* We can't expand or collapse panels without headers, they would disappear. Layout panels can
* be expanded and collpased though. */
* be expanded and collapsed though. */
const bool has_panel_header = !(panel->type->flag & PANEL_TYPE_NO_HEADER);
int mx = event->xy[0];

View File

@@ -528,7 +528,7 @@ static void viewRedrawPost(bContext *C, TransInfo *t)
ED_area_status_text(t->area, nullptr);
if (t->spacetype == SPACE_VIEW3D) {
/* if autokeying is enabled, send notifiers that keyframes were added */
/* If auto-keying is enabled, send notifiers that keyframes were added. */
if (blender::animrig::is_autokey_on(t->scene)) {
WM_main_add_notifier(NC_ANIMATION | ND_KEYFRAME | NA_EDITED, nullptr);
}
@@ -1504,8 +1504,10 @@ static void drawTransformView(const bContext * /*C*/, ARegion *region, void *arg
}
}
/* just draw a little warning message in the top-right corner of the viewport
* to warn that autokeying is enabled */
/**
* Just draw a little warning message in the top-right corner of the viewport
* to warn that auto-keying is enabled.
*/
static void drawAutoKeyWarning(TransInfo *t, ARegion *region)
{
const char *printable = IFACE_("Auto Keying On");

View File

@@ -1295,7 +1295,7 @@ typedef enum eKeying_Flag {
KEYING_FLAG_XYZ2RGB = (1 << 3),
KEYING_FLAG_CYCLEAWARE = (1 << 8),
/* Autokey options. */
/* Auto-key options. */
AUTOKEY_FLAG_INSERTAVAILABLE = (1 << 0),
AUTOKEY_FLAG_INSERTNEEDED = (1 << 1),
AUTOKEY_FLAG_ONLYKEYINGSET = (1 << 6),