== Sequencer ==
Silently destroyed a null check in free_sequence in last commit, getting old... :)
This commit is contained in:
@@ -114,7 +114,9 @@ void free_strip(Strip *strip)
|
||||
return;
|
||||
}
|
||||
|
||||
if (strip->stripdata) {
|
||||
MEM_freeN(strip->stripdata);
|
||||
}
|
||||
|
||||
if (strip->proxy) {
|
||||
MEM_freeN(strip->proxy);
|
||||
@@ -1021,6 +1023,10 @@ static int seq_proxy_get_fname(Sequence * seq, int cfra, char * name)
|
||||
int frameno;
|
||||
char dir[FILE_MAXDIR];
|
||||
|
||||
if (!seq->strip->proxy) {
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if (seq->flag & SEQ_USE_PROXY_CUSTOM_DIR) {
|
||||
strcpy(dir, seq->strip->proxy->dir);
|
||||
} else {
|
||||
@@ -1056,11 +1062,6 @@ static int seq_proxy_get_fname(Sequence * seq, int cfra, char * name)
|
||||
G.scene->r.size);
|
||||
}
|
||||
|
||||
if (seq->strip->proxy == 0) {
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
BLI_convertstringcode(name, G.sce, frameno);
|
||||
|
||||
strcat(name, ".jpg");
|
||||
|
||||
Reference in New Issue
Block a user