mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 12:41:20 -06:00 
			
		
		
		
	Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering
This commit is contained in:
		
						commit
						a8437f3ebb
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		|  | @ -1615,8 +1615,10 @@ void Plater::priv::selection_changed() | |||
| 
 | ||||
|     // if the selection is not valid to allow for layer editing, we need to turn off the tool if it is running
 | ||||
|     bool enable_layer_editing = layers_height_allowed(); | ||||
|     if (!enable_layer_editing && view3D->is_layers_editing_enabled()) | ||||
|         on_action_layersediting(SimpleEvent(EVT_GLTOOLBAR_LAYERSEDITING)); | ||||
|     if (!enable_layer_editing && view3D->is_layers_editing_enabled()) { | ||||
|         SimpleEvent evt(EVT_GLTOOLBAR_LAYERSEDITING); | ||||
|         on_action_layersediting(evt); | ||||
|     } | ||||
| 
 | ||||
|     view3D->enable_toolbar_item("layersediting", enable_layer_editing); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Enrico Turri
						Enrico Turri