mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 03:40:20 +02:00
Fix export models not cancelling correctly
This commit is contained in:
parent
d54e3741ed
commit
6ecc12cdea
1 changed files with 3 additions and 1 deletions
|
@ -217,7 +217,9 @@ var ExportMenu = function(opts) {
|
||||||
var s = self._scale;
|
var s = self._scale;
|
||||||
var filename = "models__" + Window.location.hostname + "__" + x + "_" + y + "_" + z + "_" + s + "__.svo";
|
var filename = "models__" + Window.location.hostname + "__" + x + "_" + y + "_" + z + "_" + s + "__.svo";
|
||||||
filename = Window.save("Select where to save", filename, "*.svo")
|
filename = Window.save("Select where to save", filename, "*.svo")
|
||||||
Clipboard.exportModels(filename, x, y, z, s);
|
if (filename) {
|
||||||
|
Clipboard.exportModels(filename, x, y, z, s);
|
||||||
|
}
|
||||||
self.close();
|
self.close();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue