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 @@ -538,7 +538,7 @@ func commit_undo(action : String, _undo_data : Dictionary) -> void:
538538			if  not  image  is  Image :
539539				continue 
540540			project .undo_redo .add_do_property (image , "data" , redo_data [image ])
541- 		for  image  in  undo_data :
541+ 		for  image  in  _undo_data :
542542			if  not  image  is  Image :
543543				continue 
544544			project .undo_redo .add_undo_property (image , "data" , _undo_data [image ])
@@ -655,7 +655,7 @@ func delete() -> void:
655655		commit_undo ("Draw" , undo_data )
656656		return 
657657
658- 	var  _undo_data  =  _get_undo_data (true )
658+ 	var  _undo_data  : =  _get_undo_data (true )
659659	var  image  : Image  =  project .frames [project .current_frame ].cels [project .current_layer ].image 
660660	for  x  in  big_bounding_rectangle .size .x :
661661		for  y  in  big_bounding_rectangle .size .y :
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments