From a37d7dc3f8971c31a21413d554780d4ac85620c7 Mon Sep 17 00:00:00 2001 From: Val Erastov Date: Tue, 8 Mar 2022 19:56:19 -0800 Subject: [PATCH] fix pipeline caching issue --- web/app/cad/craft/e0/occCommandInterface.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/app/cad/craft/e0/occCommandInterface.ts b/web/app/cad/craft/e0/occCommandInterface.ts index 9c0f5104..77b72185 100644 --- a/web/app/cad/craft/e0/occCommandInterface.ts +++ b/web/app/cad/craft/e0/occCommandInterface.ts @@ -5,6 +5,10 @@ export type OCCCommandInterface = OCCCommands; const pushedModels = new Set(); +export function clearImplicitModels() { + pushedModels.clear(); +} + export const OCI: OCCCommandInterface = new Proxy({}, { get: function (target, prop: string, receiver) { return prop in target ? target[prop] : function() {