Cleanup: spelling

This commit is contained in:
2021-09-12 19:51:16 +10:00
parent 15405685d9
commit 2aa7edbe6b
6 changed files with 8 additions and 8 deletions

View File

@@ -479,7 +479,7 @@ GHOST_TXrGraphicsBinding GHOST_XrContext::determineGraphicsBindingTypeToUse(
/* Return the first working type. */
for (GHOST_TXrGraphicsBinding type : enabled_types) {
#ifdef WIN32
/* The SteamVR OpenGL backend currently fails for NVIDIA gpus. Disable it and allow falling
/* The SteamVR OpenGL backend currently fails for NVIDIA GPU's. Disable it and allow falling
* back to the DirectX one. */
if ((m_runtime_id == OPENXR_RUNTIME_STEAMVR) && (type == GHOST_kXrGraphicsOpenGL) &&
((create_info->context_flag & GHOST_kXrContextGpuNVIDIA) != 0)) {

View File

@@ -120,7 +120,7 @@ template<bool IsStrongReference> class OwnedAnonymousAttributeID {
return BKE_anonymous_attribute_id_has_strong_references(data_);
}
/** Extract the onwership of the currently wrapped anonymous id. */
/** Extract the ownership of the currently wrapped anonymous id. */
const AnonymousAttributeID *extract()
{
const AnonymousAttributeID *extracted_data = data_;

View File

@@ -685,7 +685,7 @@ static bool geometry_node_is_293_legacy(const short node_type)
case GEO_NODE_COLLECTION_INFO:
return false;
/* Maybe legacy: Transfered *all* attributes before, will not transfer all built-ins now. */
/* Maybe legacy: Transferred *all* attributes before, will not transfer all built-ins now. */
case GEO_NODE_CURVE_ENDPOINTS:
case GEO_NODE_CURVE_TO_POINTS:
return false;
@@ -732,7 +732,7 @@ static bool geometry_node_is_293_legacy(const short node_type)
return true;
/* Legacy: More complex attribute inputs or outputs. */
case GEO_NODE_LEGACY_DELETE_GEOMETRY: /* Needs field input, domain dropdown. */
case GEO_NODE_LEGACY_DELETE_GEOMETRY: /* Needs field input, domain drop-down. */
case GEO_NODE_LEGACY_CURVE_SUBDIVIDE: /* Needs field count input. */
case GEO_NODE_LEGACY_POINTS_TO_VOLUME: /* Needs field radius input. */
case GEO_NODE_LEGACY_SELECT_BY_MATERIAL: /* Output anonymous attribute. */

View File

@@ -192,7 +192,7 @@ static bool get_keyframe_extents(bAnimContext *ac, float *min, float *max, const
bGPDlayer *gpl = ale->data;
bGPDframe *gpf;
/* find gp-frame which is less than or equal to cframe */
/* Find gp-frame which is less than or equal to current-frame. */
for (gpf = gpl->frames.first; gpf; gpf = gpf->next) {
const float framenum = (float)gpf->framenum;
*min = min_ff(*min, framenum);
@@ -204,7 +204,7 @@ static bool get_keyframe_extents(bAnimContext *ac, float *min, float *max, const
MaskLayer *masklay = ale->data;
MaskLayerShape *masklay_shape;
/* find mask layer which is less than or equal to cframe */
/* Find mask layer which is less than or equal to current-frame. */
for (masklay_shape = masklay->splines_shapes.first; masklay_shape;
masklay_shape = masklay_shape->next) {
const float framenum = (float)masklay_shape->frame;

View File

@@ -37,7 +37,7 @@
* use is to compose multiple existing fields into new fields.
*
* When fields are evaluated, they are converted into a multi-function procedure which allows
* efficient compution. In the future, we might support different field evaluation mechanisms for
* efficient computation. In the future, we might support different field evaluation mechanisms for
* e.g. the following scenarios:
* - Latency of a single evaluation is more important than throughput.
* - Evaluation should happen on other hardware like GPUs.

View File

@@ -303,7 +303,7 @@ typedef struct Curve {
/**
* A pointer to curve data from evaluation. Owned by the object's #geometry_set_eval, either as a
* geometry instance or the data of the evalauted #CurveComponent. The curve may also contain
* geometry instance or the data of the evaluated #CurveComponent. The curve may also contain
* data in the #nurb list, but for evaluated curves this is the proper place to retrieve data,
* since it also contains the result of geometry nodes evaluation, and isn't just a copy of the
* original object data.