Commit Graph
100 Commits
Author SHA1 Message Date
bubnikv 2dbbfdac11 Refreshed the translation file. 2019-08-30 11:38:05 +02:00
bubnikv 4d224b1b82 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-30 10:20:50 +02:00
bubnikv 9dda1f10a2 Updated the initial language detection to provided some logging. 2019-08-30 10:20:38 +02:00
bubnikv 6fb93470de Updated icons for the undo / redo menu. 2019-08-30 10:19:20 +02:00
bubnikv 3d8f3116c1 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-30 09:20:14 +02:00
bubnikv b305a6b37e Fix of 2.1.0-beta2 Linux AppImage - OpenGL detection fails #2844
The OpenGL check was moved to GLCanvas3DManager init function,
where the OpenGL context is active at the 1st render event.
2019-08-30 09:19:45 +02:00
bubnikv 78697b2acf 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 ace275af7f std::make_unique is not supported by our build servers.
use Slic3r::make_unique instead
2019-08-29 14:51:24 +02:00
bubnikv ab361fc0e7 Refreshed dictionaries with keys from GUI_ObjectLayers.cpp 2019-08-29 14:10:10 +02:00
bubnikv 468abfefbc 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
bubnikv d60480ca7c Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-29 13:36:22 +02:00
bubnikv cd9d20a8b3 Renamed the dictionaries and their directories, so that
wxWidgets will open German dictionary for de_CH, English dictionary
for en_AU etc.
2019-08-29 13:36:12 +02:00
bubnikv 885ff11d4c Update of "Volumes in Objects reordered" undo / redo message 2019-08-29 11:16:14 +02:00
bubnikv 4af75c9f23 Updated the translations file. 2019-08-29 10:45:04 +02:00
bubnikv 3fc3a8e2c3 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-29 10:43:38 +02:00
bubnikv 3ba144bfe5 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
bubnikv e6263ef5dd Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-28 16:19:57 +02:00
bubnikv 8865c4b685 Plurals for number of Undo / Redo actions. 2019-08-28 16:19:46 +02:00
bubnikv 2b7a4973a8 Reworded the "Add / remove instance / set number of instances". 2019-08-28 15:35:01 +02:00
bubnikv 048ed74318 Another round of translation adjustments. 2019-08-28 15:12:55 +02:00
bubnikv 496d49d343 Merge branch 'vb_locales' 2019-08-28 13:38:00 +02:00
bubnikv d4b20fa396 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-28 13:25:00 +02:00
bubnikv 5b6b3e865d Merge remote-tracking branch 'remotes/origin/master' into vb_locales 2019-08-28 13:24:24 +02:00
bubnikv a1ebb8d483 Don't delete old locales when switching language. It crashes for
an unknown reason.
2019-08-28 13:23:58 +02:00
bubnikv 002ae9a4bf Slovaks understand Czech well. Give them the Czech translation. 2019-08-28 11:59:30 +02:00
bubnikv 9e406e4214 Reworked switching of the language:
1) Language is
2019-08-28 11:53:53 +02:00
bubnikv cd35fd9b34 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
bubnikv 9f0933ba6e 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 e0e12063bf Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-27 13:39:58 +02:00
bubnikv 6a2228fc21 Don't localize debugging texts. 2019-08-27 13:39:47 +02:00
bubnikv 30ca60272c Yet another wording update. 2019-08-27 12:22:34 +02:00
bubnikv 888783e0b8 wording update 2019-08-27 12:19:44 +02:00
bubnikv 86b2817da5 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 3dff253b64 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-27 11:49:52 +02:00
bubnikv faf7a1d789 Reworderd undo / redo tooltips 2019-08-27 11:49:46 +02:00
bubnikv 1e11eab620 Improved wording of some UI texts and tooltips. 2019-08-27 11:39:51 +02:00
bubnikv 80490550b5 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 66535b41d5 Time optimization of GLCanvas3D::_travel_paths_by_feedrate() 2019-08-26 11:41:25 +02:00
bubnikv 85d9a16563 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 9cbfe8f5ef 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 972b7d2d6b Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-26 09:51:35 +02:00
bubnikv 9abef2241d 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
bubnikv 1096dff0f6 Bumped up the version number to beta2, updated Prusa3D printer profiles. 2019-08-25 09:16:46 +02:00
bubnikv de43f579a9 Refactoring of AvoidCrossingPerimeters::init_external_mp() 2019-08-25 09:01:01 +02:00
bubnikv ceae7b4889 Fix of support generator regression agains 2.1.0-alpha1.
https://github.com/prusa3d/PrusaSlicer/issues/2810
https://github.com/prusa3d/PrusaSlicer/issues/2808
2019-08-25 08:59:47 +02:00
bubnikv c725fd4ed5 Merge remote-tracking branch 'remotes/origin/lm_avoid_crossing_perimeters_parallel' 2019-08-25 08:32:02 +02:00
bubnikv 29a51bc46f Updated bundled Prusa3d profiles
Bumped up the version to 2.1.0-beta, changed the user configs directory
to PrusaSlicer-beta.
2019-08-23 16:15:03 +02:00
bubnikv 04d6cfe8de Merge remote-tracking branch 'remotes/origin/ys_update_settings' 2019-08-23 16:08:24 +02:00
bubnikv a0a82b1d8b Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-23 15:53:51 +02:00
bubnikv 6adebb9c78 When synchronizing the front end with the back end after Undo / Redo
jump, postpone error messages, so they are displayed after
the Undo / Redo jump has been fully performed.
Otherwise there would be a message box opening, taking over the message
queue, and possibly performing actions as rendering on an inconsistent
application state.
2019-08-23 15:53:45 +02:00
bubnikv bb6cde789d Fix of a missing parameter. 2019-08-23 13:44:07 +02:00
bubnikv 12cb930634 A little optimizaiton 2019-08-23 13:27:19 +02:00
bubnikv 93c6915e9d Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-23 13:26:47 +02:00
bubnikv 007a5301eb Merge remote-tracking branch 'remotes/origin/lm_sla_gizmo_snapshots_supports' 2019-08-23 12:56:47 +02:00
bubnikv 89fb8fd43c Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-23 10:03:00 +02:00
bubnikv ac62734033 Fixed time stamps for the configuration snapshots
(local / UTC time functions were mixed up)
2019-08-23 10:02:45 +02:00
bubnikv 911589efe1 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-22 20:03:36 +02:00
bubnikv 0de566e2a2 Hopefully a workaround for crashes and hang ups at closing on Windows.
Release the OpenGL contexts not by a destructor of a static class,
but explicitely (predictively).
2019-08-22 20:03:17 +02:00
bubnikv c6604ff55d Merge remote-tracking branch 'remotes/origin/et_toolpaths_export' 2019-08-22 15:02:02 +02:00
bubnikv 9856859bf4 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-22 11:48:07 +02:00
bubnikv 0333553389 Windows specific fix of extruder selection and object editing
at the object list: When clicking on a column of an already selected line,
simulate ENTER key to enter the editing mode. This works most of the time,
but not 100% reliably.
solves the arthritis issue #1606
2019-08-22 11:47:58 +02:00
bubnikv 6bc82bc21a Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-21 14:52:30 +02:00
bubnikv dc3a0a0ab3 Refactoring of EdgeGrid to accept an segment to segment visitor.
WIP: PolygonTrimmer to trim skirt & brim with polygons stored in EdgeGrid.
2019-08-21 14:52:22 +02:00
bubnikv 668a8cd2ea Fix of an update of support extruders when changing number
of printer extruders.
2019-08-21 14:05:32 +02:00
bubnikv 40d313961e Fixing issues in Print / PrintObject / PrintRegion reporting
a list of printing extruders.
2019-08-21 13:49:37 +02:00
bubnikv ded2019765 Fix of "spiral vase printable for a single region object only" check. 2019-08-21 13:08:26 +02:00
bubnikv 7c0c5705df Fix of Excessive external_perimeter_extrusion_width error #2784
Increased the perimeter_extrusion_width check limit to 3x nozzle diameter.
2019-08-21 09:28:32 +02:00
bubnikv 0fbfbf4bd8 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-21 08:51:50 +02:00
bubnikv e403118d7d Fixed a typo in an error message. 2019-08-21 08:50:38 +02:00
bubnikv 775a54846f Fixed compilation of Win32 message boxes on unix systems. 2019-08-20 17:46:19 +02:00
bubnikv ccddcf88be Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-20 17:39:39 +02:00
bubnikv c8a78f5d85 Merge remote-tracking branch 'remotes/origin/ys_bf_msw_scale' 2019-08-20 16:53:23 +02:00
bubnikv 88dcb7f366 Checking for OpenGL driver version in the GUI slicer and giving some
reasonable advice to the user in case OpenGL < 2.0 was detected.
2019-08-20 16:38:03 +02:00
bubnikv 2e7d5e5bc1 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-20 16:22:37 +02:00
bubnikv fd3fe75d1c Reworked the rename_file() function on Windows to work reliably and
atomically. The code was taken from the llvm project, it is complex
and hopefully it covers all the Windows file system quirks. Vojtech
has highest hopes, that this will fix the various PrusaSlicer.ini
file corruptions.

Enabled the locales switching and error handling on Linux as well,
where now the missing locales are reported and running the locale-gen
tool is recommended.
2019-08-20 16:19:30 +02:00
bubnikv a83da0f72c Merge remote-tracking branch 'remotes/origin/lm_wxmemleaks' 2019-08-20 09:39:43 +02:00
bubnikv 384ee17fcb Merge remote-tracking branch 'remotes/origin/lm_circular_priming' 2019-08-20 09:34:45 +02:00
bubnikv 2870416e4d Merge remote-tracking branch 'remotes/origin/lm_exceptions_rebased' 2019-08-20 09:20:57 +02:00
bubnikv 778e499827 Merge remote-tracking branch 'remotes/origin/lm_wipe_tower_linear_advance' 2019-08-20 09:19:22 +02:00
bubnikv 167de35e22 Merge remote-tracking branch 'remotes/origin/lm_corrupt_config' 2019-08-20 09:12:33 +02:00
bubnikv 4fbee3216b Fix of Zoom by trackpad does not update until click #2750
For an unknown reason, if the scrolling is performed on Windows
with the two finger gesture on touch pad, there is no Idle event
generated on some computers.
The Idle is not generated on Vojtech's laptop, it is generated
on Enrico's laptop.
evt.Skip() solves the issue on Vojtech's laptop.
2019-08-19 19:48:07 +02:00
bubnikv e30a17beb3 Fixed memory issues of BedShapeHintwhen using unions of non-trivial objects 2019-08-19 17:01:39 +02:00
bubnikv 4717cdf2e1 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-19 14:34:23 +02:00
bubnikv 7008853f08 Add AppImage credits #2747 2019-08-19 14:34:12 +02:00
bubnikv aa7f98b020 Bumped up version to 2.1.0-alpha1 2019-08-09 13:19:23 +02:00
bubnikv 9b700ef252 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-09 09:58:27 +02:00
bubnikv 46fa83adac Only validate support_material_extrusion_width with supports
or raft enabled.
2019-08-09 09:58:05 +02:00
bubnikv 39b07e7b94 Partial revert of 07a3072622
It fixes an issue where the objects out of print bed are shown
in the print path preview in SLA mode.
2019-08-08 18:26:41 +02:00
bubnikv bcfb445d0c Partial revert of f474978db5
to fix Perl driven unit tests.
2019-08-08 15:24:23 +02:00
bubnikv 7e694a8fb8 Workaround for invalid access inside some character classification table
when parsing localized file names by the PlaceholderParser:
UTF8 characters were handled as chars, and the negative char values were
used as indices into 7bit long tables.
2019-08-08 14:21:24 +02:00
bubnikv f474978db5 Clean up the mess required for the legacy Perl bindings, which are now
used for Perl unit / integration tests only. With this commit,
the code will be cleaner, but likely the unit tests will not run
on Windows, if installed in a localized path.
2019-08-08 12:59:55 +02:00
bubnikv 0fb81e6cda Let the alpha build store its profile into PrusaSlicer-alpha directory. 2019-08-08 10:00:11 +02:00
bubnikv 23b2b4c59f Merge remote-tracking branch 'remotes/origin/vb_picking_fix' 2019-08-08 09:50:02 +02:00
bubnikv 8970ee28b2 Fixed linking of the "pad" combo box of the Plater with the respective
pad boolean values of the configuration layer.
2019-08-08 09:48:56 +02:00
bubnikv b7f93292fa FIx of Single test suite failure on two minority architectures #2461 2019-08-08 09:45:42 +02:00
bubnikv 75f36b83d5 Merge remote-tracking branch 'remotes/origin/master' into tm_zero_elev_ui 2019-08-08 08:43:00 +02:00
bubnikv 2e53cf1464 Merge branch 'tm_zero_elev_ui' of https://github.com/Prusa3d/PrusaSlicer into tm_zero_elev_ui 2019-08-08 08:42:50 +02:00
bubnikv ed2ca9ab0b Merge remote-tracking branch 'remotes/origin/ys_printable_property' into vb_picking_fix 2019-08-07 15:44:25 +02:00
bubnikv 841d0796b7 Fix of the SLA gizmo picking. 2019-08-07 15:36:09 +02:00
bubnikv 7cef1292b2 Yet another fix of the preceding commit. 2019-08-07 15:03:43 +02:00