Reworked the "new modifier mesh place on face" code to not place

on face if the instance coordinate system is skewed.
This commit is contained in:
bubnikv 2019-03-01 10:09:20 +01:00
parent f88cc6a5c1
commit 1f7db3d40c
2 changed files with 34 additions and 104 deletions

View file

@ -2972,7 +2972,7 @@ void Plater::export_gcode()
default_output_file = fs::path(Slic3r::fold_utf8_to_ascii(default_output_file.string()));
auto start_dir = wxGetApp().app_config->get_last_output_dir(default_output_file.parent_path().string());
wxFileDialog dlg(this, (printer_technology() == ptFFF) ? _(L("Save G-code file as:")) : _(L("Save Zip file as:")),
wxFileDialog dlg(this, (printer_technology() == ptFFF) ? _(L("Save G-code file as:")) : _(L("Save SL1 file as:")),
start_dir,
from_path(default_output_file.filename()),
GUI::file_wildcards((printer_technology() == ptFFF) ? FT_GCODE : FT_PNGZIP, default_output_file.extension().string()),