@colijnit/configurator 12.0.9 → 12.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1002,6 +1002,12 @@
1002
1002
  ImageUtils.getFixedImageFilepathUrl = function (imageFilepathUrl) {
1003
1003
  return imageFilepathUrl.replace("/content/", "/content43/");
1004
1004
  };
1005
+ ImageUtils.ClearCache = function () {
1006
+ ImageUtils.textures.forEach(function (value) {
1007
+ value.dispose();
1008
+ });
1009
+ ImageUtils.textures.clear();
1010
+ };
1005
1011
  return ImageUtils;
1006
1012
  }());
1007
1013
  ImageUtils.textures = new Map();
@@ -1664,6 +1670,7 @@
1664
1670
  });
1665
1671
  });
1666
1672
  VariationUtils.ClearCache();
1673
+ ImageUtils.ClearCache();
1667
1674
  };
1668
1675
  VariationHelper.prototype.loadPart = function (obj, parts, usePbr) {
1669
1676
  if (usePbr === void 0) { usePbr = false; }