mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Allow scaling factor to be at least 2540 to allow the conversion of inch models
This commit is contained in:
		
							parent
							
								
									b4a21bea40
								
							
						
					
					
						commit
						d5c9b74377
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -370,7 +370,8 @@ sub changescale {
 | 
			
		|||
    
 | 
			
		||||
    my $obj_idx = $self->selected_object_idx;
 | 
			
		||||
    my $scale = $self->{scale}[$obj_idx];
 | 
			
		||||
    $scale = Wx::GetNumberFromUser("", "Enter the scale % for the selected object:", "Scale", $scale*100, 0, 1000, $self);
 | 
			
		||||
    # max scale factor should be above 2540 to allow importing files exported in inches
 | 
			
		||||
    $scale = Wx::GetNumberFromUser("", "Enter the scale % for the selected object:", "Scale", $scale*100, 0, 5000, $self);
 | 
			
		||||
    return if !$scale || $scale == -1;
 | 
			
		||||
    
 | 
			
		||||
    $self->statusbar->SetStatusText("Scaling object...");
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue