mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-03 05:20:29 -07:00
ENH:center display ObjColorDialog
jira: STUDIO-9273 Change-Id: I3a5e8eeedf184b14c6aaa2ab655c4aa1bb01c02f (cherry picked from commit 119610121c9a2c9ea188f61836947cb8c826cf6e)
This commit is contained in:
parent
a66ccf7f48
commit
ed6d6c807b
1 changed files with 1 additions and 0 deletions
|
|
@ -4961,6 +4961,7 @@ std::vector<size_t> Plater::priv::load_files(const std::vector<fs::path>& input_
|
|||
if (!boost::iends_with(path.string(), ".obj")) { return; }
|
||||
const std::vector<std::string> extruder_colours = wxGetApp().plater()->get_extruder_colors_from_plater_config();
|
||||
ObjColorDialog color_dlg(nullptr, input_colors, is_single_color, extruder_colours, filament_ids, first_extruder_id);
|
||||
color_dlg.CenterOnScreen();
|
||||
if (color_dlg.ShowModal() != wxID_OK) {
|
||||
filament_ids.clear();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue