mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Ported more things to XS
This commit is contained in:
		
							parent
							
								
									5a96bad8c2
								
							
						
					
					
						commit
						73b3c06361
					
				
					 18 changed files with 383 additions and 297 deletions
				
			
		|  | @ -497,6 +497,7 @@ sub objects_loaded { | |||
|     } | ||||
|     $self->arrange unless $params{no_arrange}; | ||||
|     $self->update; | ||||
|             use XXX; YYY $self->{model}->objects->[0]->instances->[0]->offset->pp; | ||||
|     $self->{list}->Update; | ||||
|     $self->{list}->Select($obj_idxs->[-1], 1); | ||||
|     $self->object_list_changed; | ||||
|  | @ -695,7 +696,7 @@ sub changescale { | |||
|          | ||||
|         my $versor = [1,1,1]; | ||||
|         $versor->[$axis] = $scale/100; | ||||
|         $model_object->scale_xyz($versor); | ||||
|         $model_object->scale_xyz(Slic3r::Pointf3->new(@$versor)); | ||||
|         $self->make_thumbnail($obj_idx); | ||||
|     } else { | ||||
|         # max scale factor should be above 2540 to allow importing files exported in inches | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci