File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1223,7 +1223,7 @@ class MaskEditorDialog extends ComfyDialog {
12231223        // Create and set new image 
12241224        const  newImage  =  new  Image ( ) 
12251225        newImage . crossOrigin  =  'anonymous' 
1226-         newImage . src  =  mkFileUrl ( {  ref : filepath ,  preview : true  } ) 
1226+         newImage . src  =  mkFileUrl ( {  ref : actualFilepath ,  preview : true  } ) 
12271227        ComfyApp . clipspace . imgs [ paintedIndex ]  =  newImage 
12281228
12291229        // Update images array - create if it doesn't exist 
@@ -1276,7 +1276,7 @@ class MaskEditorDialog extends ComfyDialog {
12761276      // Create and set new image 
12771277      const  newImage  =  new  Image ( ) 
12781278      newImage . crossOrigin  =  'anonymous' 
1279-       newImage . src  =  mkFileUrl ( {  ref : filepath ,  preview : true  } ) 
1279+       newImage . src  =  mkFileUrl ( {  ref : actualFilepath ,  preview : true  } ) 
12801280      ComfyApp . clipspace . imgs [ indexToSaveTo ]  =  newImage 
12811281
12821282      // Update images array - create if it doesn't exist 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments