mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Aligned frequently changing parameters according to presets settings on the Plater tab.
Fixed missing adding of the Filaments preset settings(for multy material case) to the right_panel
This commit is contained in:
		
							parent
							
								
									fd43e53aeb
								
							
						
					
					
						commit
						deabeaaa7f
					
				
					 3 changed files with 9 additions and 8 deletions
				
			
		|  | @ -410,6 +410,7 @@ sub new { | |||
|                 $presets->Add($text, 0, wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL | wxRIGHT, 4); | ||||
|                 $presets->Add($choice, 1, wxALIGN_CENTER_VERTICAL | wxEXPAND | wxBOTTOM, 1); | ||||
|             } | ||||
|             $presets->Layout; | ||||
|         } | ||||
| 
 | ||||
|         my $frequently_changed_parameters_sizer = Wx::BoxSizer->new(wxHORIZONTAL); | ||||
|  | @ -1738,7 +1739,7 @@ sub on_extruders_change { | |||
|         my @presets = $choices->[0]->GetStrings; | ||||
|          | ||||
|         # initialize new choice | ||||
|         my $choice = Wx::BitmapComboBox->new($self, -1, "", wxDefaultPosition, wxDefaultSize, [@presets], wxCB_READONLY); | ||||
|         my $choice = Wx::BitmapComboBox->new($self->{right_panel}, -1, "", wxDefaultPosition, wxDefaultSize, [@presets], wxCB_READONLY); | ||||
|         my $extruder_idx = scalar @$choices; | ||||
|         EVT_LEFT_DOWN($choice, sub { $self->filament_color_box_lmouse_down($extruder_idx, @_); } ); | ||||
|         push @$choices, $choice; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 YuSanka
						YuSanka