Cleanup: typos
This commit is contained in:
parent
5e063ce6c9
commit
e02679f71e
|
@ -608,7 +608,7 @@ static MovieClip *movieclip_alloc(Main *bmain, const char *name)
|
|||
return clip;
|
||||
}
|
||||
|
||||
static void movieclip_load_get_szie(MovieClip *clip)
|
||||
static void movieclip_load_get_size(MovieClip *clip)
|
||||
{
|
||||
int width, height;
|
||||
MovieClipUser user = {0};
|
||||
|
@ -670,7 +670,7 @@ MovieClip *BKE_movieclip_file_add(Main *bmain, const char *name)
|
|||
|
||||
detect_clip_source(clip);
|
||||
|
||||
movieclip_load_get_szie(clip);
|
||||
movieclip_load_get_size(clip);
|
||||
if (clip->lastsize[0]) {
|
||||
int width = clip->lastsize[0];
|
||||
|
||||
|
@ -1276,7 +1276,7 @@ void BKE_movieclip_reload(MovieClip *clip)
|
|||
detect_clip_source(clip);
|
||||
|
||||
clip->lastsize[0] = clip->lastsize[1] = 0;
|
||||
movieclip_load_get_szie(clip);
|
||||
movieclip_load_get_size(clip);
|
||||
|
||||
movieclip_calc_length(clip);
|
||||
|
||||
|
|
|
@ -529,7 +529,7 @@ typedef struct AccessCacheKey {
|
|||
static unsigned int accesscache_hashhash(const void *key_v)
|
||||
{
|
||||
const AccessCacheKey *key = (const AccessCacheKey *) key_v;
|
||||
/* TODP(sergey): Need better hasing here for faster frame access. */
|
||||
/* TODP(sergey): Need better hashing here for faster frame access. */
|
||||
return key->clip_index << 16 | key->frame;
|
||||
}
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
*
|
||||
* This diagram is an overview of the structure of a single array-store.
|
||||
*
|
||||
* \note The only 2 structues here which are referenced externally are the.
|
||||
* \note The only 2 structures here which are referenced externally are the.
|
||||
*
|
||||
* - BArrayStore: The whole array store.
|
||||
* - BArrayState: Represents a single state (array) of data.
|
||||
|
@ -92,7 +92,7 @@
|
|||
* First matches at either end of the array are detected.
|
||||
* For identical arrays this is all thats needed.
|
||||
*
|
||||
* De-duplication is performed on any remaining chunks, by hasing the first few bytes of the chunk
|
||||
* De-duplication is performed on any remaining chunks, by hashing the first few bytes of the chunk
|
||||
* (see: BCHUNK_HASH_TABLE_ACCUMULATE_STEPS).
|
||||
*
|
||||
* \note This is cached for reuse since the referenced data never changes.
|
||||
|
@ -650,7 +650,7 @@ static void bchunk_list_append_data(
|
|||
* Use for adding arrays of arbitrary sized memory at once.
|
||||
*
|
||||
* \note This function takes care not to perform redundant chunk-merging checks,
|
||||
* so we can write succesive fixed size chunks quickly.
|
||||
* so we can write successive fixed size chunks quickly.
|
||||
*/
|
||||
static void bchunk_list_append_data_n(
|
||||
const BArrayInfo *info, BArrayMemory *bs_mem,
|
||||
|
@ -1680,7 +1680,7 @@ void *BLI_array_store_state_data_get_alloc(
|
|||
/** \} */
|
||||
|
||||
|
||||
/** \name Debigging API (for testing).
|
||||
/** \name Debugging API (for testing).
|
||||
* \{ */
|
||||
|
||||
/* only for test validation */
|
||||
|
|
|
@ -2035,7 +2035,7 @@ bool autokeyframe_cfra_can_key(Scene *scene, ID *id)
|
|||
else {
|
||||
/* Normal Mode (or treat as being normal mode):
|
||||
*
|
||||
* Just in case the flags are't set properly (i.e. only on/off is set, without a mode)
|
||||
* Just in case the flags can't set properly (i.e. only on/off is set, without a mode)
|
||||
* let's set the "normal" flag too, so that it will all be sane everywhere...
|
||||
*/
|
||||
scene->toolsettings->autokey_mode = AUTOKEY_MODE_NORMAL;
|
||||
|
|
|
@ -198,7 +198,7 @@ static void raycast_all_cb(void *userdata, int index, const BVHTreeRay *ray, BVH
|
|||
mul_m3_v3((float(*)[3])data->timat, normal);
|
||||
normalize_v3(normal);
|
||||
|
||||
/* currently unused, and causes issues when looptri's havn't been calculated.
|
||||
/* currently unused, and causes issues when looptri's haven't been calculated.
|
||||
* since theres some overhead in ensuring this data is valid, it may need to be optional. */
|
||||
#if 0
|
||||
if (data->dm) {
|
||||
|
@ -735,7 +735,7 @@ static bool snapDerivedMesh(
|
|||
if (bb) {
|
||||
BoundBox bb_temp;
|
||||
|
||||
/* We cannot aford a bbox with some null dimension, which may happen in some cases...
|
||||
/* We cannot afford a bounding box with some null dimension, which may happen in some cases...
|
||||
* Threshold is rather high, but seems to be needed to get good behavior, see T46099. */
|
||||
bb = BKE_boundbox_ensure_minimum_dimensions(bb, &bb_temp, 1e-1f);
|
||||
|
||||
|
|
Loading…
Reference in New Issue