File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 12251225 }
12261226 const oldPopProcCache = Blocks . prototype . populateProcedureCache ;
12271227 Blocks . prototype . populateProcedureCache = function ( ) {
1228- if ( this . _cache . proceduresPopulated ) return ;
1228+ if ( this . isMbpPopulated ) return ;
12291229 refreshGlobalBlocksCache ( ) ;
12301230 oldPopProcCache . call ( this ) ;
12311231 for ( const proccode of Object . keys ( globalBlocksCache ) ) {
12361236 this . _cache . procedureParamNames [ proccode ] = target . blocks . _cache . procedureParamNames [ proccode ] ;
12371237 this . _cache . procedureDefinitions [ proccode ] = target . blocks . _cache . procedureDefinitions [ proccode ] ;
12381238 }
1239+ this . isMbpPopulated = true ;
12391240 } ;
12401241 const oldGetInputs = Blocks . prototype . getInputs ;
12411242 Blocks . prototype . getInputs = function ( block ) {
You can’t perform that action at this time.
0 commit comments