mirror of
https://github.com/zsviczian/obsidian-excalidraw-plugin.git
synced 2025-08-06 05:46:28 +00:00
2.2.3
This commit is contained in:
@@ -361,7 +361,8 @@ export class EmbeddedFilesLoader {
|
||||
isMask,
|
||||
};
|
||||
|
||||
const shouldUseCache = this.plugin.settings.allowImageCacheInScene && file && imageCache.isReady();
|
||||
const hasColorMap = Boolean(inFile instanceof EmbeddedFile ? inFile.colorMap : null);
|
||||
const shouldUseCache = !hasColorMap && this.plugin.settings.allowImageCacheInScene && file && imageCache.isReady();
|
||||
const cacheKey:ImageKey = {
|
||||
filepath: file.path,
|
||||
blockref: null,
|
||||
|
||||
Reference in New Issue
Block a user