Drop unnecessary console.dir statement
This commit is contained in:
parent
1c940d6df7
commit
8d5663d3a2
|
@ -270,7 +270,6 @@ class FilmOut {
|
||||||
gui.spinner(false);
|
gui.spinner(false);
|
||||||
}
|
}
|
||||||
onPreExportProgress(evt, args) {
|
onPreExportProgress(evt, args) {
|
||||||
console.dir(args);
|
|
||||||
const elem = $('.progress-bar');
|
const elem = $('.progress-bar');
|
||||||
let progress = 0;
|
let progress = 0;
|
||||||
if (args.progress.progress) {
|
if (args.progress.progress) {
|
||||||
|
@ -278,7 +277,7 @@ class FilmOut {
|
||||||
}
|
}
|
||||||
elem.attr('aria-valuenow', progress);
|
elem.attr('aria-valuenow', progress);
|
||||||
elem.css('width', `${progress}%`);
|
elem.css('width', `${progress}%`);
|
||||||
gui.spinner(true, `Exporting frames of ${this.state.name} in ${humanizeDuration(Math.round(args.progress.estimated) * 1000)}`, true, true);
|
gui.spinner(true, `Exporting frames of ${this.state.name} in ${humanizeDuration(Math.round(args.progress.estimated) * 1000)}`, true, false);
|
||||||
}
|
}
|
||||||
advance() {
|
advance() {
|
||||||
this.state.frame++;
|
this.state.frame++;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -266,8 +266,7 @@ class FilmOut {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
onPreExport (evt : Event, args : any) {
|
onPreExport (evt : Event, args : any) {
|
||||||
|
|
||||||
if (args.completed && args.completed === true) {
|
if (args.completed && args.completed === true) {
|
||||||
gui.notify('FILMOUT', `Exported frames of ${this.state.name}`);
|
gui.notify('FILMOUT', `Exported frames of ${this.state.name}`);
|
||||||
log.info(`Exported frames of ${this.state.name}`, 'FILMOUT', true);
|
log.info(`Exported frames of ${this.state.name}`, 'FILMOUT', true);
|
||||||
|
@ -281,7 +280,6 @@ class FilmOut {
|
||||||
}
|
}
|
||||||
|
|
||||||
onPreExportProgress (evt : Event, args : any) {
|
onPreExportProgress (evt : Event, args : any) {
|
||||||
console.dir(args);
|
|
||||||
const elem : any = $('.progress-bar');
|
const elem : any = $('.progress-bar');
|
||||||
let progress : number = 0;
|
let progress : number = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue