mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Added undo/redo snapshot for layers height editing
This commit is contained in:
		
							parent
							
								
									832dada931
								
							
						
					
					
						commit
						0a530ab7bc
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -604,6 +604,7 @@ void GLCanvas3D::LayersEditing::accept_changes(GLCanvas3D& canvas) | |||
| { | ||||
|     if (last_object_id >= 0) { | ||||
|         if (m_layer_height_profile_modified) { | ||||
|             wxGetApp().plater()->take_snapshot(_(L("Layers heights"))); | ||||
|             const_cast<ModelObject*>(m_model_object)->layer_height_profile = m_layer_height_profile; | ||||
| 			canvas.post_event(SimpleEvent(EVT_GLCANVAS_SCHEDULE_BACKGROUND_PROCESS)); | ||||
|         } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Enrico Turri
						Enrico Turri