mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 12:41:20 -06:00 
			
		
		
		
	Removed method update_bed_size from 3D perl class
This commit is contained in:
		
							parent
							
								
									66b4620d9b
								
							
						
					
					
						commit
						f6ef28becc
					
				
					 3 changed files with 21 additions and 14 deletions
				
			
		|  | @ -228,9 +228,10 @@ sub reload_scene { | |||
| 
 | ||||
| #============================================================================================================================== | ||||
|     Slic3r::GUI::_3DScene::reset_volumes($self); | ||||
|     Slic3r::GUI::_3DScene::set_bed_shape($self, $self->{config}->bed_shape); | ||||
| #    $self->reset_objects; | ||||
| #    $self->update_bed_size; | ||||
| #============================================================================================================================== | ||||
|     $self->update_bed_size; | ||||
| 
 | ||||
|     if (! $self->IsShown && ! $force) { | ||||
|         $self->{reload_delayed} = 1; | ||||
|  | @ -306,13 +307,12 @@ sub reload_scene { | |||
|     } | ||||
| } | ||||
| 
 | ||||
| sub update_bed_size { | ||||
|     my ($self) = @_; | ||||
| #============================================================================================================================== | ||||
|     Slic3r::GUI::_3DScene::set_bed_shape($self, $self->{config}->bed_shape); | ||||
| #sub update_bed_size { | ||||
| #    my ($self) = @_; | ||||
| #    $self->set_bed_shape($self->{config}->bed_shape); | ||||
| #} | ||||
| #============================================================================================================================== | ||||
| } | ||||
| 
 | ||||
| # Called by the Platter wxNotebook when this page is activated. | ||||
| sub OnActivate { | ||||
|  |  | |||
|  | @ -546,13 +546,12 @@ sub set_z_idx_high | |||
|     } | ||||
| } | ||||
| 
 | ||||
| sub set_bed_shape { | ||||
|     my ($self, $bed_shape) = @_; | ||||
| #============================================================================================================================== | ||||
|     Slic3r::GUI::_3DScene::set_bed_shape($self->canvas, $bed_shape); | ||||
| #sub set_bed_shape { | ||||
| #    my ($self, $bed_shape) = @_; | ||||
| #    $self->canvas->set_bed_shape($bed_shape); | ||||
| #} | ||||
| #============================================================================================================================== | ||||
| } | ||||
| 
 | ||||
| sub set_number_extruders { | ||||
|     my ($self, $number_extruders) = @_; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Enrico Turri
						Enrico Turri