mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Config parameters accessible from SLA gizmo are now saved on the undo/redo stack
This commit is contained in:
		
							parent
							
								
									9548dfd88f
								
							
						
					
					
						commit
						599f2e07db
					
				
					 2 changed files with 28 additions and 8 deletions
				
			
		|  | @ -107,7 +107,8 @@ private: | |||
|     float m_new_point_head_diameter;        // Size of a new point.
 | ||||
|     CacheEntry m_point_before_drag;         // undo/redo - so we know what state was edited
 | ||||
|     float m_old_point_head_diameter = 0.;   // the same
 | ||||
|     float m_minimal_point_distance = 20.f; | ||||
|     float m_minimal_point_distance_stash = 0.f; // and again
 | ||||
|     float m_density_stash = 0.f;                // and again
 | ||||
|     mutable std::vector<CacheEntry> m_editing_cache; // a support point and whether it is currently selected
 | ||||
|     std::vector<sla::SupportPoint> m_normal_cache; // to restore after discarding changes or undo/redo
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lukas Matena
						Lukas Matena