You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: js/CADWorker/CascadeStudioStandardLibrary.js
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -123,7 +123,7 @@ function Text3D(text, size, height, fontName) {
123
123
124
124
lettextArgs=JSON.stringify(arguments);
125
125
letcurText=self.CacheOp(arguments,"Text3D",()=>{
126
-
if(self.loadedFonts[fontName]===undefined){self.argCache={};console.log("Font not loaded or found yet! Try again...");return;}
126
+
if(self.loadedFonts[fontName]===undefined){for(letkinself.argCache)deleteself.argCache[k];console.log("Font not loaded or found yet! Try again...");return;}
0 commit comments