mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 12:11:15 -06:00 
			
		
		
		
	Load presets into the new C++ class.
This commit is contained in:
		
							parent
							
								
									b1e3b0cdf9
								
							
						
					
					
						commit
						84d4bf8fdb
					
				
					 6 changed files with 57 additions and 3 deletions
				
			
		|  | @ -163,6 +163,7 @@ sub thread_cleanup { | |||
|     *Slic3r::Surface::Collection::DESTROY   = sub {}; | ||||
|     *Slic3r::Print::SupportMaterial2::DESTROY = sub {}; | ||||
|     *Slic3r::TriangleMesh::DESTROY          = sub {}; | ||||
|     *Slic3r::GUI::PresetBundle::DESTROY     = sub {}; | ||||
|     return undef;  # this prevents a "Scalars leaked" warning | ||||
| } | ||||
| 
 | ||||
|  |  | |||
|  | @ -172,6 +172,7 @@ sub OnInit { | |||
|         } | ||||
|     } | ||||
|     $self->{mainframe}->config_wizard if $run_wizard; | ||||
|     eval { $self->{preset_bundle}->load_presets($datadir) }; | ||||
|      | ||||
| #    $self->check_version | ||||
| #        if $self->have_version_check | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 bubnikv
						bubnikv