mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 10:02:12 +00:00
ENH:center display ObjColorDialog
jira: STUDIO-9273 Change-Id: I3a5e8eeedf184b14c6aaa2ab655c4aa1bb01c02f (cherry picked from commit 119610121c9a2c9ea188f61836947cb8c826cf6e)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user