Pass current file name through to export command (#4503)
* Pass current file name through to export command * A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest-8-cores) * Oops I needed a couple other things, not just that one line change * A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest-8-cores) * Undo overriding of internal zipped file names That was liable to cause conflicts and whatnot per @jessfraz feedback * Update E2E test that was still looking for `output.gltf` * Missed one other test my bad * Should've just grepped for output.gltf to begin with --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Paul Tagliamonte <paul@zoo.dev>
This commit is contained in:
@ -1631,7 +1631,11 @@ export class EngineCommandManager extends EventTarget {
|
||||
|
||||
switch (this.exportInfo.intent) {
|
||||
case ExportIntent.Save: {
|
||||
exportSave(event.data, this.pendingExport.toastId).then(() => {
|
||||
exportSave({
|
||||
data: event.data,
|
||||
fileName: this.exportInfo.name,
|
||||
toastId: this.pendingExport.toastId,
|
||||
}).then(() => {
|
||||
this.pendingExport?.resolve(null)
|
||||
}, this.pendingExport?.reject)
|
||||
break
|
||||
|
Reference in New Issue
Block a user