forked from bartvdbraak/blender
Cleanup: spelling (D831)
This commit is contained in:
parent
db5493ec7a
commit
5e0e175422
@ -201,7 +201,7 @@ def cmake_get_src(f):
|
||||
# replace_line(f, i - 1, new_path_rel)
|
||||
|
||||
else:
|
||||
raise Exception("non existant include %s:%d -> %s" % (f, i, new_file))
|
||||
raise Exception("non existent include %s:%d -> %s" % (f, i, new_file))
|
||||
|
||||
# print(new_file)
|
||||
|
||||
|
@ -280,7 +280,7 @@ static void bli_builddir(struct BuildDirCtx *dir_ctx, const char *dirname)
|
||||
closedir(dir);
|
||||
}
|
||||
else {
|
||||
printf("%s non-existant directory\n", dirname);
|
||||
printf("%s non-existent directory\n", dirname);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
/** \file blender/bmesh/intern/bmesh_callback_generic.c
|
||||
* \ingroup bmesh
|
||||
*
|
||||
* BM construction functions.
|
||||
* BM element callback functions.
|
||||
*/
|
||||
|
||||
#include "BLI_utildefines.h"
|
||||
|
@ -216,7 +216,7 @@ static bool actedit_get_context(bAnimContext *ac, SpaceAction *saction)
|
||||
/* Get data being edited in Graph Editor (depending on current 'mode') */
|
||||
static bool graphedit_get_context(bAnimContext *ac, SpaceIpo *sipo)
|
||||
{
|
||||
/* init dopesheet data if non-existant (i.e. for old files) */
|
||||
/* init dopesheet data if non-existent (i.e. for old files) */
|
||||
if (sipo->ads == NULL) {
|
||||
sipo->ads = MEM_callocN(sizeof(bDopeSheet), "GraphEdit DopeSheet");
|
||||
sipo->ads->source = (ID *)ac->scene;
|
||||
@ -267,7 +267,7 @@ static bool graphedit_get_context(bAnimContext *ac, SpaceIpo *sipo)
|
||||
/* Get data being edited in Graph Editor (depending on current 'mode') */
|
||||
static bool nlaedit_get_context(bAnimContext *ac, SpaceNla *snla)
|
||||
{
|
||||
/* init dopesheet data if non-existant (i.e. for old files) */
|
||||
/* init dopesheet data if non-existent (i.e. for old files) */
|
||||
if (snla->ads == NULL)
|
||||
snla->ads = MEM_callocN(sizeof(bDopeSheet), "NlaEdit DopeSheet");
|
||||
ac->ads = snla->ads;
|
||||
|
@ -182,7 +182,7 @@ static void graph_init(struct wmWindowManager *UNUSED(wm), ScrArea *sa)
|
||||
{
|
||||
SpaceIpo *sipo = (SpaceIpo *)sa->spacedata.first;
|
||||
|
||||
/* init dopesheet data if non-existant (i.e. for old files) */
|
||||
/* init dopesheet data if non-existent (i.e. for old files) */
|
||||
if (sipo->ads == NULL) {
|
||||
sipo->ads = MEM_callocN(sizeof(bDopeSheet), "GraphEdit DopeSheet");
|
||||
sipo->ads->source = (ID *)(G.main->scene.first); // FIXME: this is a really nasty hack here for now...
|
||||
|
@ -180,7 +180,7 @@ static void nla_init(struct wmWindowManager *UNUSED(wm), ScrArea *sa)
|
||||
{
|
||||
SpaceNla *snla = (SpaceNla *)sa->spacedata.first;
|
||||
|
||||
/* init dopesheet data if non-existant (i.e. for old files) */
|
||||
/* init dopesheet data if non-existent (i.e. for old files) */
|
||||
if (snla->ads == NULL) {
|
||||
snla->ads = MEM_callocN(sizeof(bDopeSheet), "NlaEdit DopeSheet");
|
||||
snla->ads->source = (ID *)G.main->scene.first; // XXX this is bad, but we need this to be set correct
|
||||
|
@ -60,7 +60,7 @@ static void rna_ActionGroup_channels_next(CollectionPropertyIterator *iter)
|
||||
FCurve *fcu = (FCurve *)internal->link;
|
||||
bActionGroup *grp = fcu->grp;
|
||||
|
||||
/* only continue if the next F-Curve (if existant) belongs in the same group */
|
||||
/* only continue if the next F-Curve (if existent) belongs in the same group */
|
||||
if ((fcu->next) && (fcu->next->grp == grp))
|
||||
internal->link = (Link *)fcu->next;
|
||||
else
|
||||
|
@ -1117,12 +1117,12 @@ static void rna_SpaceDopeSheetEditor_action_update(Main *UNUSED(bmain), Scene *s
|
||||
|
||||
if (saction->mode == SACTCONT_ACTION) {
|
||||
/* TODO: context selector could help decide this with more control? */
|
||||
adt = BKE_id_add_animdata(&obact->id); /* this only adds if non-existant */
|
||||
adt = BKE_id_add_animdata(&obact->id); /* this only adds if non-existent */
|
||||
}
|
||||
else if (saction->mode == SACTCONT_SHAPEKEY) {
|
||||
Key *key = BKE_key_from_object(obact);
|
||||
if (key)
|
||||
adt = BKE_id_add_animdata(&key->id); /* this only adds if non-existant */
|
||||
adt = BKE_id_add_animdata(&key->id); /* this only adds if non-existent */
|
||||
}
|
||||
|
||||
/* set action */
|
||||
|
Loading…
Reference in New Issue
Block a user