forked from bartvdbraak/blender
Cleanup: typos
This commit is contained in:
parent
f340595dba
commit
f01c6e185f
@ -396,7 +396,7 @@ public:
|
||||
|
||||
/**
|
||||
* Returns the selection buffer
|
||||
* \return Returns "unsinged char" from X11 XA_CUT_BUFFER0 buffer
|
||||
* \return "unsigned char" from X11 XA_CUT_BUFFER0 buffer
|
||||
*
|
||||
*/
|
||||
virtual GHOST_TUns8 *getClipboard(bool selection) const = 0;
|
||||
|
@ -182,7 +182,7 @@ public:
|
||||
GHOST_TSuccess getButtons(GHOST_Buttons& buttons) const;
|
||||
|
||||
/**
|
||||
* Returns unsinged char from CUT_BUFFER0
|
||||
* Returns unsigned char from CUT_BUFFER0
|
||||
* \param selection Used by X11 only
|
||||
* \return Returns the Clipboard
|
||||
*/
|
||||
|
@ -233,7 +233,7 @@ public:
|
||||
unsigned int *context) const;
|
||||
|
||||
/**
|
||||
* Returns unsinged char from CUT_BUFFER0
|
||||
* Returns unsigned char from CUT_BUFFER0
|
||||
* \param selection Get selection, X11 only feature
|
||||
* \return Returns the Clipboard indicated by Flag
|
||||
*/
|
||||
|
@ -293,7 +293,7 @@ bool id_make_local(ID *id, bool test)
|
||||
|
||||
/**
|
||||
* Invokes the appropriate copy method for the block and returns the result in
|
||||
* newid, unless test. Returns true iff the block can be copied.
|
||||
* newid, unless test. Returns true if the block can be copied.
|
||||
*/
|
||||
bool id_copy(ID *id, ID **newid, bool test)
|
||||
{
|
||||
|
@ -208,7 +208,7 @@ void BLI_freelinkN(ListBase *listbase, void *vlink)
|
||||
|
||||
/**
|
||||
* Sorts the elements of listbase into the order defined by cmp
|
||||
* (which should return 1 iff its first arg should come after its second arg).
|
||||
* (which should return 1 if its first arg should come after its second arg).
|
||||
* This uses insertion sort, so NOT ok for large list.
|
||||
*/
|
||||
void BLI_listbase_sort(ListBase *listbase, int (*cmp)(const void *, const void *))
|
||||
|
@ -2198,7 +2198,7 @@ void bmesh_vert_separate(
|
||||
* Check for duplicates (not just with the first) but between all.
|
||||
* This is O(n2) but radial edges are very rarely >2 and almost never >~10.
|
||||
*
|
||||
* \note typically its best to avoid createing the data in the first place,
|
||||
* \note typically its best to avoid creating the data in the first place,
|
||||
* but inspecting all loops connectivity is quite involved.
|
||||
*
|
||||
* \note this function looks like it could become slow,
|
||||
|
@ -1072,7 +1072,7 @@ bool BM_edge_is_convex(const BMEdge *e)
|
||||
}
|
||||
|
||||
/**
|
||||
* Returms true when loop customdata is contiguous.
|
||||
* \return true when loop customdata is contiguous.
|
||||
*/
|
||||
bool BM_edge_is_contiguous_loop_cd(
|
||||
const BMEdge *e,
|
||||
|
@ -1414,7 +1414,7 @@ static size_t animfilter_nla_controls(ListBase *anim_data, bDopeSheet *ads, Anim
|
||||
items += tmp_items;
|
||||
}
|
||||
|
||||
/* return the numebr of items added ot the list */
|
||||
/* return the numebr of items added to the list */
|
||||
return items;
|
||||
}
|
||||
|
||||
|
@ -54,7 +54,7 @@
|
||||
|
||||
#include "armature_intern.h"
|
||||
|
||||
/* utility macros fro storing a temp int in the bone (selection flag) */
|
||||
/* utility macros for storing a temp int in the bone (selection flag) */
|
||||
#define EBONE_PREV_FLAG_GET(ebone) ((void)0, (ebone)->temp.i)
|
||||
#define EBONE_PREV_FLAG_SET(ebone, val) ((ebone)->temp.i = val)
|
||||
|
||||
|
@ -62,7 +62,7 @@
|
||||
|
||||
#include "armature_intern.h"
|
||||
|
||||
/* utility macros fro storing a temp int in the bone (selection flag) */
|
||||
/* utility macros for storing a temp int in the bone (selection flag) */
|
||||
#define PBONE_PREV_FLAG_GET(pchan) ((void)0, (GET_INT_FROM_POINTER((pchan)->temp)))
|
||||
#define PBONE_PREV_FLAG_SET(pchan, val) ((pchan)->temp = SET_INT_IN_POINTER(val))
|
||||
|
||||
|
@ -2896,7 +2896,7 @@ static int convert_key(GHOST_TKey key)
|
||||
static void wm_eventemulation(wmEvent *event)
|
||||
{
|
||||
/* Store last mmb/rmb event value to make emulation work when modifier keys
|
||||
* are released first. This really should be in a data structure somwhere. */
|
||||
* are released first. This really should be in a data structure somewhere. */
|
||||
static int emulating_event = EVENT_NONE;
|
||||
|
||||
/* middlemouse and rightmouse emulation */
|
||||
|
Loading…
Reference in New Issue
Block a user