Cleanup: spelling

This commit is contained in:
2020-02-26 15:21:32 +11:00
parent 220310ffc5
commit 5a6a6ef0c6
7 changed files with 9 additions and 9 deletions

View File

@@ -629,7 +629,7 @@ void Session::run_cpu()
}
/* Don't go in pause mode when preview kernels are used
* When feature kernels become available the session will be resetted. */
* When feature kernels become available the session will be reset. */
else if (no_tiles && kernel_state == DEVICE_KERNEL_WAITING_FOR_FEATURE_KERNEL) {
time_sleep(0.1);
}

View File

@@ -1438,7 +1438,7 @@ void GHOST_SystemX11::processEvent(XEvent *xe)
* around tablet surface */
window->GetTabletData().Active = xtablet.mode;
/* Note: This event might be generated with incomplete dataset
/* Note: This event might be generated with incomplete data-set
* (don't exactly know why, looks like in some cases, if the value does not change,
* it is not included in subsequent XDeviceMotionEvent events).
* So we have to check which values this event actually contains!

View File

@@ -3524,8 +3524,8 @@ static void exactinit(void)
* Sets h = e + f. See the long version of my paper for details.
*
* If round-to-even is used (as with IEEE 754), maintains the strongly
* nonoverlapping property. (That is, if e is strongly nonoverlapping, h
* will be also.) Does NOT maintain the nonoverlapping or nonadjacent
* non-overlapping property. (That is, if e is strongly non-overlapping, h
* will be also.) Does NOT maintain the non-overlapping or non-adjacent
* properties.
*/

View File

@@ -42,7 +42,7 @@ Relation::Relation(Node *from, Node *to, const char *description)
/* Hook it up to the nodes which use it.
*
* NOTE: We register relation in the nodes which this link connects to here
* in constructor but we don't unregister it in the destructor.
* in constructor but we don't un-register it in the destructor.
*
* Reasoning:
*
@@ -50,7 +50,7 @@ Relation::Relation(Node *from, Node *to, const char *description)
* real need in avoiding dangling pointers, all the memory is to be freed
* anyway.
*
* - Unregistering relation is not a cheap operation, so better to have it
* - Un-registering relation is not a cheap operation, so better to have it
* as an explicit call if we need this. */
from->outlinks.push_back(this);
to->inlinks.push_back(this);

View File

@@ -1607,7 +1607,7 @@ void UI_view2d_scrollers_draw(View2D *v2d, View2DScrollers *vs)
* - slider bubble is large enough (no overdraw confusion)
* - scale is shown on the scroller
* (workaround to make sure that button windows don't show these,
* and only the time-grids with their zoomability can do so)
* and only the time-grids with their zoom-ability can do so).
*/
if ((v2d->keepzoom & V2D_LOCKZOOM_X) == 0 && (v2d->scroll & V2D_SCROLL_HORIZONTAL_HANDLES) &&
(BLI_rcti_size_x(&slider) > V2D_SCROLL_HANDLE_SIZE_HOTSPOT)) {

View File

@@ -293,7 +293,7 @@ typedef enum PropertyOverrideFlag {
* Forbid usage of this property in comparison (& hence override) code.
* Useful e.g. for collections of data like mesh's geometry, particles, etc.
* Also for runtime data that should never be considered as part of actual Blend data (e.g.
* dpesgraph from ViewLayers...).
* depsgraph from ViewLayers...).
*/
PROPOVERRIDE_NO_COMPARISON = (1 << 1),

View File

@@ -1045,7 +1045,7 @@ static void rna_Scene_active_keying_set_set(PointerRNA *ptr,
/* get KeyingSet index stuff for list of Keying Sets editing UI
* - active_keyingset-1 since 0 is reserved for 'none'
* - don't clamp, otherwise can never set builtins types as active...
* - don't clamp, otherwise can never set builtin's types as active...
*/
static int rna_Scene_active_keying_set_index_get(PointerRNA *ptr)
{