Cleanup: spelling

This commit is contained in:
Campbell Barton 2020-12-15 12:27:16 +11:00
parent e995296acb
commit 001f2c5d50
5 changed files with 7 additions and 7 deletions

View File

@ -718,7 +718,7 @@ void CUDADevice::init_host_memory()
void CUDADevice::load_texture_info()
{
if (need_texture_info) {
/* Unset flag before copying, so this does not loop indenfinetly if the copy below calls
/* Unset flag before copying, so this does not loop indefinitely if the copy below calls
* into 'move_textures_to_host' (which calls 'load_texture_info' again). */
need_texture_info = false;
texture_info.copy_to_device();

View File

@ -789,7 +789,7 @@ bool OpenCLInfo::device_supported(const string &platform_name, const cl_device_i
}
# ifdef __APPLE__
/* Apple uses own framework, which can also put Iris onto AMD framerwork.
/* Apple uses own framework, which can also put Iris onto AMD frame-work.
* This isn't supported configuration. */
return false;
# else

View File

@ -3282,8 +3282,8 @@ static tSampleEdge *new_sample_edge_from_sample_points(tSamplePoint *from, tSamp
* Does not change the shape of the stroke. The new points will be distributed as
* uniformly as possible by repeatedly subdividing the current longest edge.
*
* \param gps: The stroke to be upsampled.
* \param target_number: The number of points the upsampled stroke should have.
* \param gps: The stroke to be up-sampled.
* \param target_number: The number of points the up-sampled stroke should have.
* \param select: Select/Deselect the stroke.
*/
void BKE_gpencil_stroke_uniform_subdivide(bGPdata *gpd,

View File

@ -1332,8 +1332,8 @@ static int gpencil_merge_layer_exec(bContext *C, wmOperator *op)
}
/* Read all frames from merge layer and add any missing in destination layer,
* copying all previous strokes to keep the image equals. Need to do it in a separated
* loop to avoid strokes acumulation. */
* copying all previous strokes to keep the image equals.
* Need to do it in a separated loop to avoid strokes accumulation. */
LISTBASE_FOREACH (bGPDframe *, gpf_src, &gpl_src->frames) {
/* Try to find frame in destination layer hash table. */
bGPDframe *gpf_dst = BLI_ghash_lookup(gh_frames_dst, POINTER_FROM_INT(gpf_src->framenum));

View File

@ -6173,7 +6173,7 @@ void uiTemplateList(uiLayout *layout,
org_i,
flt_flag);
/* Items should be able to set context pointers for the layout. But the listrow button
/* Items should be able to set context pointers for the layout. But the list-row button
* swallows events, so it needs the context storage too for handlers to see it. */
but->context = uiLayoutGetContextStore(sub);