Commit Graph

8648 Commits

Author SHA1 Message Date
Enrico Turri
73ef0898f0 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-08-29 15:38:43 +02:00
Enrico Turri
3ff68e8139 Do not automatically start slicing when switching to gcode preview if the Slice Now button is disabled 2019-08-29 15:38:21 +02:00
bubnikv
eb5e55ff93 Improvement of selection of language / dictionaries.
When switching the languages, if the newly selected dictionary
is "compatible" with the system best language or user's locale,
then the system best language locale or user's locale is activated,
not the locale connected to the dictionary.
2019-08-29 15:35:28 +02:00
bubnikv
8e37a7e169 std::make_unique is not supported by our build servers.
use Slic3r::make_unique instead
2019-08-29 14:51:24 +02:00
bubnikv
ef2354f0e4 Reworked selection of locales and translation dictionaries.
Slicer now tries to heed user's locales, also it tries to switch
to the language recommended by the operating system (Windows & OSX
specific).
2019-08-29 14:07:45 +02:00
Lukas Matena
40faa6db3b Fixed out-of-bounds access when adding a colorchange before the first layer
Fixed several signedness related warnings
2019-08-29 12:03:42 +02:00
bubnikv
a085ad1457 Update of "Volumes in Objects reordered" undo / redo message 2019-08-29 11:16:14 +02:00
bubnikv
2b7c8bf712 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-29 10:43:38 +02:00
bubnikv
465e3df14b Removed Selection-Add Volumes, Selection-Add Volume,
Selection-Remove Volume, Selection-Remove Volumes
from taking snapshots, therefore from localizations.
2019-08-29 10:43:26 +02:00
tamasmeszaros
af7acfc984 Force deallocation of redundant vector content.
Call move assignment with empty vector instead of clear().
2019-08-29 10:24:55 +02:00
tamasmeszaros
bfb003db7f Fix memory leak.
Also removed some unnecessary aliases.
2019-08-29 10:10:09 +02:00
Lukas Matena
8809ef3a0c Fixes of the wipe tower
- added an extra travel move after a toolchange
- wipe tower only sets temperatures with single extruder MM printers
- ooze prevention does not work with the wipe tower - added a check into Print::validate()
2019-08-28 16:28:22 +02:00
bubnikv
41681ead40 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-28 16:19:57 +02:00
bubnikv
6d3f7fd6f8 Plurals for number of Undo / Redo actions. 2019-08-28 16:19:46 +02:00
Enrico Turri
18b2e6d288 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-08-28 16:03:36 +02:00
Enrico Turri
8fe733f229 Fixed import of .3mf and .amf files. Parse contained XML model file by chunch instead that as a whole 2019-08-28 16:03:26 +02:00
bubnikv
02b747b071 Reworded the "Add / remove instance / set number of instances". 2019-08-28 15:35:01 +02:00
bubnikv
ba58c3438a Another round of translation adjustments. 2019-08-28 15:12:55 +02:00
bubnikv
512090f4b2 Merge remote-tracking branch 'remotes/origin/master' into vb_locales 2019-08-28 13:24:24 +02:00
bubnikv
1c0bd22736 Don't delete old locales when switching language. It crashes for
an unknown reason.
2019-08-28 13:23:58 +02:00
bubnikv
60e9c68600 Slovaks understand Czech well. Give them the Czech translation. 2019-08-28 11:59:30 +02:00
bubnikv
30d138c9e1 Reworked switching of the language:
1) Language is
2019-08-28 11:53:53 +02:00
tamasmeszaros
8e80ad2e91 Mirror pad_around_object for 'Pad' page on 'Supports' page 2019-08-28 11:33:04 +02:00
Enrico Turri
34668e15fc Follow-up of 97473439cf -> Further output size reduction 2019-08-28 11:06:30 +02:00
bubnikv
d25cc2aadf Refreshed the dictionaries.
Introduced a new localization macro L_CONTEXT(string, context)
to define context dependent translations.

The only strings - "Top" and "Bottom" were already using context, but
until now the context had to be added to the PrusaSlicer.pot file
manually, while the context is being generated automatically now.
2019-08-27 17:14:03 +02:00
Enrico Turri
f272088595 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-08-27 16:05:47 +02:00
Enrico Turri
77f93d9706 Export toolpaths to obj -> Reduced size of output 2019-08-27 16:05:38 +02:00
YuSanka
0be4038d52 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-08-27 16:02:29 +02:00
YuSanka
49a238550b Small LayersRange UI improvements 2019-08-27 16:02:15 +02:00
bubnikv
5a38b77cff Fixed regression issue in G-code preview since 2.1.0-beta2:
Excessive amount of memory was pre-allocated for G-code preview
by volumetric speed.
2019-08-27 15:55:53 +02:00
bubnikv
b83fa0717a Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-27 13:39:58 +02:00
bubnikv
873c741906 Don't localize debugging texts. 2019-08-27 13:39:47 +02:00
Lukas Matena
21b8e4021c ConfigManipulation.cpp: Fixed couple of memory leaks due to heap-allocated wxMessageDialogs that were never freed 2019-08-27 13:27:11 +02:00
Lukas Matena
06bff5a046 GCodeWriter.cpp: Fixed skipped z-lifts when its height was equal to layer height (https://github.com/prusa3d/PrusaSlicer/issues/2154) 2019-08-27 12:41:00 +02:00
bubnikv
da22d300b6 Yet another wording update. 2019-08-27 12:22:34 +02:00
bubnikv
46a70ac351 wording update 2019-08-27 12:19:44 +02:00
bubnikv
bd4f51efe0 Fix of a regression issue since ee38d80318
1) load object
2) Switch FFF to SLA or vice versa
3) Undo -> Crash

Fixed by deselecting the side panel before loading profiles
of the other technology.
2019-08-27 12:15:29 +02:00
bubnikv
08a75589ed Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-27 11:49:52 +02:00
bubnikv
5af10ba0b9 Reworderd undo / redo tooltips 2019-08-27 11:49:46 +02:00
bubnikv
039e4bbcff Improved wording of some UI texts and tooltips. 2019-08-27 11:39:51 +02:00
Vojtech Kral
cf93ee09d2 Refactor a few more catch(...) instances 2019-08-27 10:37:34 +02:00
Vojtech Kral
236929a7ee PresetBundle: Add print_host to options considered security-sensitive
full_config_secure() now also removes print_host option
alongside printhost_apikey and printhost_cafile.
2019-08-27 10:37:34 +02:00
Vojtech Kral
301f825569 UpdateDialogs: Fix: Wrap update description 2019-08-27 10:37:34 +02:00
YuSanka
1141e3600a Fix of #2821 2019-08-27 09:31:19 +02:00
bubnikv
215c52d2d3 Optimization of the tool path preview generation algorithm:
1) Replaced linear search with logarithmic search.
2) Templated the travel path generation, replaced 3 functions with one.
2019-08-26 15:52:56 +02:00
bubnikv
3d8388cdc2 Time optimization of GLCanvas3D::_travel_paths_by_feedrate() 2019-08-26 11:41:25 +02:00
bubnikv
85c160cb83 Fixed a bug, where the GL context was not being activated with _set_current()
as _set_current() tested for visibility of the window on the screen.

Improved memory management by:
1) Allocating small (around 3MB) vertex buffers to be sent to the GPU.
2) Passing the small vertex buffers to the GPU as quickly as possible.

A bit of copy / paste refactoring into common functions.
2019-08-26 11:12:48 +02:00
bubnikv
ea01557635 Make sure the "avoid crossing perimeters" class is resetted
at the start of G-code export.
2019-08-26 09:55:00 +02:00
bubnikv
3a778fd2e3 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-26 09:51:35 +02:00
bubnikv
43ff86311d The ASCII STL import was made more tolerant to non-standard input format,
namely:
1) Whitespaces are allowed at the end of lines
2) A freeform is allowed after "endloop", "endfacet" and "endsolid", if separated
from the keyword by a whitespace. Some ASCII STL exporters likely add their
annotations in there.

Fixes "Error on importing stl" #2813
2019-08-26 09:50:28 +02:00