Skip to content

Commit

Permalink
Merge pull request #38 from waterwheels/patch-1
Browse files Browse the repository at this point in the history
Explicitly create temp folder for MovieImport
  • Loading branch information
mchaptel authored Dec 8, 2021
2 parents 29540e2 + 7438d3c commit d16dc57
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions openHarmony/openHarmony_node.js
Original file line number Diff line number Diff line change
Expand Up @@ -3375,9 +3375,13 @@ $.oGroupNode.prototype.importQT = function( path, importSound, extendScene, alig
// setup the node
_movieNode.can_animate = false;
_movieNode.alignment_rule = alignment;

// create the temp folder
var _tempFolder = new this.$.oFolder(this.$.scn.tempFolder.path + "/movImport/" + _element.id);
_tempFolder.create();

var _tempFolder = this.$.scn.tempFolder.path + "/movImport/" + _element.id;
var _audioPath = _tempFolder + "/" + _movieName + ".wav";
var _tempFolderPath = _tempFolder.path;
var _audioPath = _tempFolder.path + "/" + _movieName + ".wav";

// progressDialog will display an infinite loading bar as we don't have precise feedback
var progressDialog = new this.$.oProgressDialog("Importing video...", 0, "Import Movie", true);
Expand Down

0 comments on commit d16dc57

Please sign in to comment.