mirror of
				https://github.com/tonytins/CozyPixelStudio.git
				synced 2025-11-04 04:44:43 -05:00 
			
		
		
		
	Created a new Cel class, to handle cel information
Like the Layer class, it is used in place of Canvas.layers nested array mess. It hasn't been tested thoroughly yet, so there may be crashes.
This commit is contained in:
		
							parent
							
								
									f246ed1a7a
								
							
						
					
					
						commit
						df0032c515
					
				
					 15 changed files with 108 additions and 110 deletions
				
			
		| 
						 | 
				
			
			@ -23,7 +23,7 @@ func _ready() -> void:
 | 
			
		|||
 | 
			
		||||
 | 
			
		||||
func _on_HSVDialog_about_to_show() -> void:
 | 
			
		||||
	current_layer = Global.canvas.layers[Global.current_layer][0]
 | 
			
		||||
	current_layer = Global.canvas.layers[Global.current_layer].image
 | 
			
		||||
	preview_image.copy_from(current_layer)
 | 
			
		||||
	update_preview()
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue