mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Gizmo updates - forget everything about the loaded mesh when an object is deselected
This commit is contained in:
		
							parent
							
								
									4f43c6d3f8
								
							
						
					
					
						commit
						a6f7fc93f4
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -318,6 +318,9 @@ bool CommonGizmosData::update_from_backend(GLCanvas3D& canvas, ModelObject* mode | |||
|         m_mesh_raycaster.reset(); | ||||
|         m_object_clipper.reset(); | ||||
|         m_supports_clipper.reset(); | ||||
|         m_old_mesh = nullptr; | ||||
|         m_mesh = nullptr; | ||||
|         m_backend_mesh_transformed.clear(); | ||||
|         if (m_model_object) { | ||||
|             m_active_instance = canvas.get_selection().get_instance_idx(); | ||||
|             m_active_instance_bb_radius = m_model_object->instance_bounding_box(m_active_instance).radius(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lukas Matena
						Lukas Matena