Prevent selection loading when refreshing thumbnails during map generation
This commit is contained in:
@@ -573,7 +573,7 @@ async function generateMap() {
|
|||||||
const outputPath = result.outputPath || result.output_path || result;
|
const outputPath = result.outputPath || result.output_path || result;
|
||||||
if (outputPath) {
|
if (outputPath) {
|
||||||
const fileUrl = await pathToObjectUrl(outputPath);
|
const fileUrl = await pathToObjectUrl(outputPath);
|
||||||
await refreshThumbnails(outputPath);
|
await refreshThumbnails(outputPath, false);
|
||||||
currentMapPath = outputPath;
|
currentMapPath = outputPath;
|
||||||
await setSkyFromUrl(fileUrl);
|
await setSkyFromUrl(fileUrl);
|
||||||
setStatus('New environment loaded');
|
setStatus('New environment loaded');
|
||||||
|
|||||||
Reference in New Issue
Block a user