forked from bartvdbraak/blender
code cleanup: spelling
This commit is contained in:
parent
fc0e225a77
commit
f9d5bccb06
@ -136,7 +136,7 @@ and solar radii: 'arhosekskymodelstate_alienworld_alloc_init()'.
|
||||
|
||||
See the notes about the "Alien World" functionality provided further down for a
|
||||
discussion of the usefulness and limits of that second initalisation function.
|
||||
Sky model states that have been initialised with either function behave in a
|
||||
Sky model states that have been initialized with either function behave in a
|
||||
completely identical fashion during use and cleanup.
|
||||
|
||||
Using the model to generate skydome samples
|
||||
|
@ -57,7 +57,7 @@ void BKE_rigidbody_relink_constraint(struct RigidBodyCon *rbc);
|
||||
/* -------------- */
|
||||
/* Setup */
|
||||
|
||||
/* create Blender-side settings data - physics objects not initialised yet */
|
||||
/* create Blender-side settings data - physics objects not initialized yet */
|
||||
struct RigidBodyWorld *BKE_rigidbody_create_world(struct Scene *scene);
|
||||
struct RigidBodyOb *BKE_rigidbody_create_object(struct Scene *scene, struct Object *ob, short type);
|
||||
struct RigidBodyCon *BKE_rigidbody_create_constraint(struct Scene *scene, struct Object *ob, short type);
|
||||
|
@ -136,7 +136,7 @@ BLI_INLINE void ghash_resize_buckets(GHash *gh, const unsigned int nbuckets)
|
||||
}
|
||||
|
||||
/**
|
||||
* Increase initial bucket size to match a reserved ammount.
|
||||
* Increase initial bucket size to match a reserved amount.
|
||||
*/
|
||||
BLI_INLINE void ghash_buckets_reserve(GHash *gh, const unsigned int nentries_reserve)
|
||||
{
|
||||
|
@ -137,7 +137,7 @@ BLI_INLINE void edgehash_resize_buckets(EdgeHash *eh, const unsigned int nbucket
|
||||
}
|
||||
|
||||
/**
|
||||
* Increase initial bucket size to match a reserved ammount.
|
||||
* Increase initial bucket size to match a reserved amount.
|
||||
*/
|
||||
BLI_INLINE void edgehash_buckets_reserve(EdgeHash *eh, const unsigned int nentries_reserve)
|
||||
{
|
||||
|
@ -166,7 +166,7 @@ TaskScheduler *BLI_task_scheduler_get(void)
|
||||
if (task_scheduler == NULL) {
|
||||
int tot_thread = BLI_system_thread_count();
|
||||
|
||||
/* Do a lazy initialization, so it happes after
|
||||
/* Do a lazy initialization, so it happens after
|
||||
* command line arguments parsing
|
||||
*/
|
||||
task_scheduler = BLI_task_scheduler_create(tot_thread);
|
||||
|
@ -732,7 +732,6 @@ static int ed_marker_move_modal(bContext *C, wmOperator *op, const wmEvent *even
|
||||
case ESCKEY:
|
||||
ed_marker_move_cancel(C, op);
|
||||
return OPERATOR_CANCELLED;
|
||||
|
||||
case RIGHTMOUSE:
|
||||
/* press = user manually demands transform to be canceled */
|
||||
if (event->val == KM_PRESS) {
|
||||
|
@ -804,7 +804,8 @@ static int path_extension_type(const char *path)
|
||||
else if (BLI_testextensie(path, ".ogg")) {
|
||||
if (IMB_isanim(path)) {
|
||||
return MOVIEFILE;
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
return SOUNDFILE;
|
||||
}
|
||||
}
|
||||
|
@ -1470,7 +1470,7 @@ int main(int argc, const char **argv)
|
||||
#endif
|
||||
|
||||
#ifdef WIN32 /* Win32 Unicode Args */
|
||||
/* NOTE: cannot use guardedalloc malloc here, as it's not yet initialised
|
||||
/* NOTE: cannot use guardedalloc malloc here, as it's not yet initialized
|
||||
* (it depends on the args passed in, which is what we're getting here!)
|
||||
*/
|
||||
wchar_t **argv_16 = CommandLineToArgvW(GetCommandLineW(), &argc);
|
||||
|
Loading…
Reference in New Issue
Block a user