mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Created a new gizmo for flattening an object
This commit is contained in:
		
							parent
							
								
									a06b6716ea
								
							
						
					
					
						commit
						25a6c7e30e
					
				
					 5 changed files with 211 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -141,8 +141,9 @@ sub new {
 | 
			
		|||
    
 | 
			
		||||
    # callback to react to gizmo rotate
 | 
			
		||||
    my $on_gizmo_rotate = sub {
 | 
			
		||||
        my ($angle_z) = @_;
 | 
			
		||||
        my ($angle_z, $angle_y) = @_;
 | 
			
		||||
        $self->rotate(rad2deg($angle_z), Z, 'absolute');
 | 
			
		||||
        $self->rotate(rad2deg($angle_y), Y, 'absolute');
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    # callback to update object's geometry info while using gizmos
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue