forked from bartvdbraak/blender
correct spelling mistakes
This commit is contained in:
parent
4293f4738c
commit
1f291a69c1
@ -58,7 +58,7 @@ typedef struct Global {
|
||||
/* flag: if != 0 G.main->name contains valid relative base path */
|
||||
int relbase_valid;
|
||||
|
||||
/* strings of recent opend files */
|
||||
/* strings of recent opened files */
|
||||
struct ListBase recent_files;
|
||||
|
||||
short afbreek, moving, file_loaded;
|
||||
|
@ -1321,7 +1321,7 @@ void nodeSetActive(bNodeTree *ntree, bNode *node)
|
||||
node->flag |= NODE_ACTIVE_ID;
|
||||
}
|
||||
|
||||
/* use flags are not persistant yet, groups might need different tagging, so we do it each time
|
||||
/* use flags are not persistent yet, groups might need different tagging, so we do it each time
|
||||
when we need to get this info */
|
||||
void ntreeSocketUseFlags(bNodeTree *ntree)
|
||||
{
|
||||
|
@ -56,7 +56,7 @@ typedef struct RenderInfo {
|
||||
short curtile, tottile, status;
|
||||
rcti disprect; /* storage for view3d preview rect */
|
||||
unsigned int* rect;
|
||||
struct Render *re; /* persistant render */
|
||||
struct Render *re; /* persistent render */
|
||||
} RenderInfo;
|
||||
|
||||
/* ri->status */
|
||||
|
@ -109,7 +109,7 @@
|
||||
#define TS_CHUNK 128
|
||||
|
||||
/* ********************************************************* */
|
||||
/* Persistant Data */
|
||||
/* Persistent Data */
|
||||
|
||||
static void outliner_storage_cleanup(SpaceOops *soops)
|
||||
{
|
||||
@ -156,7 +156,7 @@ static void outliner_storage_cleanup(SpaceOops *soops)
|
||||
}
|
||||
}
|
||||
|
||||
static void check_persistant(SpaceOops *soops, TreeElement *te, ID *id, short type, short nr)
|
||||
static void check_persistent(SpaceOops *soops, TreeElement *te, ID *id, short type, short nr)
|
||||
{
|
||||
TreeStore *ts;
|
||||
TreeStoreElem *tselem;
|
||||
@ -818,7 +818,7 @@ static TreeElement *outliner_add_element(SpaceOops *soops, ListBase *lb, void *i
|
||||
/* add to the visual tree */
|
||||
BLI_addtail(lb, te);
|
||||
/* add to the storage */
|
||||
check_persistant(soops, te, id, type, index);
|
||||
check_persistent(soops, te, id, type, index);
|
||||
tselem= TREESTORE(te);
|
||||
|
||||
/* if we are searching for something expand to see child elements */
|
||||
|
@ -451,7 +451,7 @@ struct Object *RE_GetCamera(Render *re)
|
||||
}
|
||||
|
||||
/* call this after InitState() */
|
||||
/* per render, there's one persistant viewplane. Parts will set their own viewplanes */
|
||||
/* per render, there's one persistent viewplane. Parts will set their own viewplanes */
|
||||
void RE_SetCamera(Render *re, Object *camera)
|
||||
{
|
||||
object_camera_mode(&re->r, camera);
|
||||
|
@ -2156,7 +2156,7 @@ static int isb_add_samples(RenderPart *pa, ISBBranch *root, MemArena *memarena,
|
||||
int xi, yi, *xcos, *ycos;
|
||||
int sample, bsp_err= 0;
|
||||
|
||||
/* bsp split doesn't like to handle regular sequenes */
|
||||
/* bsp split doesn't like to handle regular sequences */
|
||||
xcos= MEM_mallocN( pa->rectx*sizeof(int), "xcos");
|
||||
ycos= MEM_mallocN( pa->recty*sizeof(int), "ycos");
|
||||
for(xi=0; xi<pa->rectx; xi++)
|
||||
@ -2301,7 +2301,7 @@ static void isb_make_buffer(RenderPart *pa, LampRen *lar)
|
||||
|
||||
isb_bsp_fillfaces(&R, lar, &root); /* shb->persmat should have been calculated */
|
||||
|
||||
/* copy shadow samples to persistant buffer, reduce memory overhead */
|
||||
/* copy shadow samples to persistent buffer, reduce memory overhead */
|
||||
if(R.osa) {
|
||||
ISBShadfacA **isbsa= isbdata->shadfaca= MEM_callocN(pa->rectx*pa->recty*sizeof(void *), "isb shadfacs");
|
||||
|
||||
@ -2360,7 +2360,7 @@ static int isb_add_samples_transp(RenderPart *pa, ISBBranch *root, MemArena *mem
|
||||
int xi, yi, *xcos, *ycos;
|
||||
int sample, bsp_err= 0;
|
||||
|
||||
/* bsp split doesn't like to handle regular sequenes */
|
||||
/* bsp split doesn't like to handle regular sequences */
|
||||
xcos= MEM_mallocN( pa->rectx*sizeof(int), "xcos");
|
||||
ycos= MEM_mallocN( pa->recty*sizeof(int), "ycos");
|
||||
for(xi=0; xi<pa->rectx; xi++)
|
||||
@ -2505,7 +2505,7 @@ static void isb_make_buffer_transp(RenderPart *pa, APixstr *apixbuf, LampRen *la
|
||||
/* go over all faces and fill in shadow values */
|
||||
isb_bsp_fillfaces(&R, lar, &root); /* shb->persmat should have been calculated */
|
||||
|
||||
/* copy shadow samples to persistant buffer, reduce memory overhead */
|
||||
/* copy shadow samples to persistent buffer, reduce memory overhead */
|
||||
isbsa= isbdata->shadfaca= MEM_callocN(pa->rectx*pa->recty*sizeof(void *), "isb shadfacs");
|
||||
|
||||
isbdata->memarena = BLI_memarena_new(0x8000 * sizeof(ISBSampleA), "isb arena");
|
||||
|
@ -359,7 +359,7 @@ void WM_read_file(bContext *C, const char *filepath, ReportList *reports)
|
||||
BLI_exec_cb(CTX_data_main(C), NULL, BLI_CB_EVT_LOAD_PRE);
|
||||
|
||||
/* first try to append data from exotic file formats... */
|
||||
/* it throws error box when file doesnt exist and returns -1 */
|
||||
/* it throws error box when file doesn't exist and returns -1 */
|
||||
/* note; it should set some error message somewhere... (ton) */
|
||||
retval= wm_read_exotic(CTX_data_scene(C), filepath);
|
||||
|
||||
@ -368,7 +368,7 @@ void WM_read_file(bContext *C, const char *filepath, ReportList *reports)
|
||||
int G_f= G.f;
|
||||
ListBase wmbase;
|
||||
|
||||
/* put aside screens to match with persistant windows later */
|
||||
/* put aside screens to match with persistent windows later */
|
||||
/* also exit screens and editors */
|
||||
wm_window_match_init(C, &wmbase);
|
||||
|
||||
@ -480,7 +480,7 @@ int WM_read_homefile(bContext *C, ReportList *UNUSED(reports), short from_memory
|
||||
/* prevent loading no UI */
|
||||
G.fileflags &= ~G_FILE_NO_UI;
|
||||
|
||||
/* put aside screens to match with persistant windows later */
|
||||
/* put aside screens to match with persistent windows later */
|
||||
wm_window_match_init(C, &wmbase);
|
||||
|
||||
if (!from_memory && BLI_exists(tstr)) {
|
||||
@ -576,7 +576,7 @@ void WM_read_history(void)
|
||||
|
||||
G.recent_files.first = G.recent_files.last = NULL;
|
||||
|
||||
/* read list of recent opend files from recent-files.txt to memory */
|
||||
/* read list of recent opened files from recent-files.txt to memory */
|
||||
for (l= lines, num= 0; l && (num<U.recent_files); l= l->next) {
|
||||
line = l->link;
|
||||
if (line[0] && BLI_exists(line)) {
|
||||
|
Loading…
Reference in New Issue
Block a user