mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-19 18:59:11 +08:00
ENH:center display ObjColorDialog
jira: STUDIO-9273 Change-Id: I3a5e8eeedf184b14c6aaa2ab655c4aa1bb01c02f
This commit is contained in:
parent
e7b9e81e84
commit
119610121c
@ -4996,6 +4996,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, in_out, extruder_colours);
|
||||
color_dlg.CenterOnScreen();
|
||||
if (color_dlg.ShowModal() != wxID_OK) {
|
||||
in_out.filament_ids.clear();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user