Cleanup: spelling in comments
This commit is contained in:
@@ -870,7 +870,7 @@ class RENDER_PT_eevee_next_sampling_viewport(RenderButtonsPanel, Panel):
|
||||
col.prop(props, "taa_samples", text="Samples")
|
||||
col.prop(props, "use_taa_reprojection", text="Temporal Reprojection")
|
||||
|
||||
# Add sss sample count here
|
||||
# Add SSS sample count here.
|
||||
|
||||
|
||||
class RENDER_PT_eevee_next_sampling_render(RenderButtonsPanel, Panel):
|
||||
@@ -893,7 +893,7 @@ class RENDER_PT_eevee_next_sampling_render(RenderButtonsPanel, Panel):
|
||||
col = layout.column(align=True)
|
||||
col.prop(props, "taa_render_samples", text="Samples")
|
||||
|
||||
# Add sss sample count here
|
||||
# Add SSS sample count here.
|
||||
|
||||
|
||||
class RENDER_PT_eevee_indirect_lighting(RenderButtonsPanel, Panel):
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
/** \file
|
||||
* \ingroup animrig
|
||||
*
|
||||
* \brief Functions to work with the visal keying system.
|
||||
* \brief Functions to work with the visual keying system.
|
||||
*/
|
||||
|
||||
struct PointerRNA;
|
||||
|
||||
@@ -241,7 +241,7 @@ typedef struct FontMetrics {
|
||||
* Positive number of font units from baseline to top of typical capitals. Can be slightly more
|
||||
* than cap height when head serifs, terminals, or apexes extend above cap line. */
|
||||
short ascender;
|
||||
/** Negative (!) number of font units from baseline to bottom of letters like "gjpqy". */
|
||||
/** Negative (!) number of font units from baseline to bottom of letters like `gjpqy`. */
|
||||
short descender;
|
||||
/** Positive number of font units between consecutive baselines. */
|
||||
short line_height;
|
||||
@@ -249,7 +249,7 @@ typedef struct FontMetrics {
|
||||
short x_height;
|
||||
/** Font units from baseline to top of capital letters, specifically "H". */
|
||||
short cap_height;
|
||||
/** Ratio width to heigh of lowercase "O". Reliable indication of font proportion. */
|
||||
/** Ratio width to height of lowercase "O". Reliable indication of font proportion. */
|
||||
float o_proportion;
|
||||
/** Font unit maximum horizontal advance for all glyphs in font. Can help with wrapping. */
|
||||
short max_advance_width;
|
||||
@@ -268,13 +268,13 @@ typedef struct FontMetrics {
|
||||
short subscript_size;
|
||||
/** Horizontal offset before first subscript character, typically 0. */
|
||||
short subscript_xoffset;
|
||||
/** Postive number of font units above baseline for subscript characters. */
|
||||
/** Positive number of font units above baseline for subscript characters. */
|
||||
short subscript_yoffset;
|
||||
/** EM size font units of recommended superscript letters. */
|
||||
short superscript_size;
|
||||
/** Horizontal offset before first superscript character, typically 0. */
|
||||
short superscript_xoffset;
|
||||
/** Postive (!) number of font units below baseline for subscript characters. */
|
||||
/** Positive (!) number of font units below baseline for subscript characters. */
|
||||
short superscript_yoffset;
|
||||
} FontMetrics;
|
||||
|
||||
@@ -376,7 +376,7 @@ typedef struct FontBLF {
|
||||
/** Copy of the font->face->face_flags, in case we don't have a face loaded. */
|
||||
FT_Long face_flags;
|
||||
|
||||
/** Details about the font's design and style and sizes (in unsized font units). */
|
||||
/** Details about the font's design and style and sizes (in un-sized font units). */
|
||||
FontMetrics metrics;
|
||||
|
||||
/** Data for buffer usage (drawing into a texture buffer) */
|
||||
|
||||
@@ -155,7 +155,7 @@ vec3 drw_point_ndc_to_world(vec3 ssP)
|
||||
/** \} */
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
/** \name Transform Screen Postions
|
||||
/** \name Transform Screen Positions
|
||||
* \{ */
|
||||
|
||||
vec3 drw_point_view_to_screen(vec3 vP)
|
||||
|
||||
@@ -10778,7 +10778,7 @@ static int ui_handle_menu_event(bContext *C,
|
||||
(event->flag & WM_EVENT_IS_REPEAT) == 0)
|
||||
{
|
||||
|
||||
/* Menu search if spacebar or SearchOnKeyPress. */
|
||||
/* Menu search if space-bar or #MenuTypeFlag::SearchOnKeyPress. */
|
||||
MenuType *mt = WM_menutype_find(menu->menu_idname, true);
|
||||
if ((mt && bool(mt->flag & MenuTypeFlag::SearchOnKeyPress)) ||
|
||||
event->type == EVT_SPACEKEY) {
|
||||
|
||||
@@ -1659,10 +1659,9 @@ float UI_text_clip_middle_ex(const uiFontStyle *fstyle,
|
||||
/* The following assert is meant to catch code changes that break this function's result, but
|
||||
* some wriggle room is fine and needed. Just a couple pixels for large sizes and with some
|
||||
* settings like "Full" hinting which can move features both left and right a pixel. We could
|
||||
* probably reduce this to one pixel if we consolodate text output with length measuring. But
|
||||
* probably reduce this to one pixel if we consolidate text output with length measuring. But
|
||||
* our text string lengths include the last character's right-side bearing anyway, so a string
|
||||
* can be longer by that amount and still fit visibly in the required space.
|
||||
*/
|
||||
* can be longer by that amount and still fit visibly in the required space. */
|
||||
|
||||
BLI_assert((strwidth <= (okwidth + 2)) || (okwidth <= 0.0f));
|
||||
|
||||
|
||||
@@ -1474,7 +1474,7 @@ static void grease_pencil_eraser_draw(PaintCursorContext *pcontext)
|
||||
{
|
||||
float radius = static_cast<float>(BKE_brush_size_get(pcontext->scene, pcontext->brush));
|
||||
|
||||
/* Redish color with alpha. */
|
||||
/* Red-ish color with alpha. */
|
||||
immUniformColor4ub(255, 100, 100, 20);
|
||||
imm_draw_circle_fill_2d(pcontext->pos, pcontext->x, pcontext->y, radius, 40);
|
||||
|
||||
|
||||
@@ -173,7 +173,7 @@ float safe_sqrt(float a)
|
||||
}
|
||||
|
||||
/**
|
||||
* Safe arccosine function. Returns `acos(a)`.
|
||||
* Safe `arccosine` function. Returns `acos(a)`.
|
||||
* If `a` is greater than 1, returns 0.
|
||||
* If `a` is less than -1, returns PI.
|
||||
*/
|
||||
|
||||
@@ -265,7 +265,7 @@ messenger_callback(VkDebugUtilsMessageSeverityFlagBitsEXT message_severity,
|
||||
* Some message IDs are turned of globally to reduce console flooding.
|
||||
*
|
||||
* - 0xec321b6c: `VUID-VkBufferCreateInfo-size-06409` is disabled as all allocations are reported
|
||||
* to be larger than the maximum allowed buffer size, although the buffersize is 4GB. Detected
|
||||
* to be larger than the maximum allowed buffer size, although the buffer-size is 4GB. Detected
|
||||
* on Mesa 23.0.4.
|
||||
*/
|
||||
if (ELEM(callback_data->messageIdNumber, 0xec321b6c)) {
|
||||
|
||||
@@ -304,7 +304,7 @@ static void export_startjob(void *customdata, wmJobWorkerStatus *worker_status)
|
||||
}
|
||||
G.is_break = false;
|
||||
|
||||
/* Evaluate the despgraph for exporting.
|
||||
/* Evaluate the depsgraph for exporting.
|
||||
*
|
||||
* Note that, unlike with its building, this is expected to be safe to perform from worker
|
||||
* thread, since UI is locked during export, so there should not be any more changes in the Main
|
||||
@@ -443,7 +443,7 @@ bool USD_export(bContext *C,
|
||||
/* Construct the depsgraph for exporting.
|
||||
*
|
||||
* Has to be done from main thread currently, as it may affect Main original data (e.g. when
|
||||
* doing deferred update of the viewlayers, see #112534 for details). */
|
||||
* doing deferred update of the view-layers, see #112534 for details). */
|
||||
if (job->params.visible_objects_only) {
|
||||
DEG_graph_build_from_view_layer(job->depsgraph);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user