mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Fix harmless typo
This commit is contained in:
		
							parent
							
								
									928335f186
								
							
						
					
					
						commit
						9053cdca5d
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -29,7 +29,7 @@ use constant TB_SCALE   => &Wx::NewId; | |||
| use constant TB_SPLIT   => &Wx::NewId; | ||||
| use constant TB_VIEW    => &Wx::NewId; | ||||
| use constant TB_SETTINGS => &Wx::NewId; | ||||
| use constant apply_config_timer_EVENT => &Wx::NewId; | ||||
| use constant CONFIG_TIMER_ID => &Wx::NewId; | ||||
| 
 | ||||
| # package variables to avoid passing lexicals to threads | ||||
| our $THUMBNAIL_DONE_EVENT    : shared = Wx::NewEventType; | ||||
|  | @ -55,7 +55,7 @@ sub new { | |||
|     $self->{model} = Slic3r::Model->new; | ||||
|     $self->{print} = Slic3r::Print->new; | ||||
|     $self->{objects} = []; | ||||
|     $self->{apply_config_timer} = Wx::Timer->new($self, apply_config_timer_EVENT) | ||||
|     $self->{apply_config_timer} = Wx::Timer->new($self, CONFIG_TIMER_ID) | ||||
|         if $Slic3r::have_threads; | ||||
|      | ||||
|     $self->{print}->set_status_cb(sub { | ||||
|  | @ -245,7 +245,7 @@ sub new { | |||
|         Slic3r::thread_cleanup(); | ||||
|     }); | ||||
|      | ||||
|     EVT_TIMER($self, apply_config_timer_EVENT, sub { | ||||
|     EVT_TIMER($self, CONFIG_TIMER_ID, sub { | ||||
|         my ($self, $event) = @_; | ||||
|         $self->async_apply_config; | ||||
|     }); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci