Commit Graph

10598 Commits

Author SHA1 Message Date
Vojtech Kral
979f66a73b Merge branch 'vk-bugfixes' 2019-08-27 10:37:42 +02:00
Vojtech Kral
8b7f0c5359 Refactor a few more catch(...) instances 2019-08-27 10:37:34 +02:00
Vojtech Kral
f9184f3564 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
4edae08a11 UpdateDialogs: Fix: Wrap update description 2019-08-27 10:37:34 +02:00
YuSanka
a1f34adcf6 Fix of #2821 2019-08-27 09:31:19 +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
Enrico Turri
b5c57fc134 Follow-up of c7cdb2fd3e -> Fixed localization of error messages for .3mf and .amf version check 2019-08-26 09:35:04 +02:00
Enrico Turri
7f589e79f7 Follow-up of 32dc4709a4 -> A more general fix 2019-08-26 09:06:21 +02:00
YuSanka
ed2bad6709 Unified calculation of icon size for preset BitmapComboBox 2019-08-25 10:31:18 +02:00
YuSanka
55b2b0737c Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-08-25 09:44:46 +02:00
YuSanka
ea2e07ec74 Fixed application crash, when change focus from overridden option to empty space in ObjectList. 2019-08-25 09:44:32 +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
YuSanka
8f019e5fa9 Set bigger scroll step for sidebar 2019-08-23 16:05:18 +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
YuSanka
90096e2c8b Fixed assert on Linux 2019-08-23 15:32:47 +02:00
YuSanka
6dbba8dbb0 Added missed include for OSX build 2019-08-23 13:58:12 +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
YuSanka
7929bda24a Resize of the KBShortcutsDialog according to the display size 2019-08-23 13:22:29 +02:00
Enrico Turri
c7cdb2fd3e Added version check for .3mf and .amf project files. PrusaSlicer will refuse to import files with newer version numbers. 2019-08-23 13:12:31 +02:00
Lukas Matena
3addae3bb4 GCode.cpp: Avoid crossing perimeters performance optimization 2019-08-23 13:06:29 +02:00
bubnikv
007a5301eb Merge remote-tracking branch 'remotes/origin/lm_sla_gizmo_snapshots_supports' 2019-08-23 12:56:47 +02:00
YuSanka
058a1d9a98 Some refactoring for ObjectList::remove() for the purpose of getting correct Undo/Redo snapshots 2019-08-23 12:32:58 +02:00
Enrico Turri
1cf311529a Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-08-23 12:28:03 +02:00
Enrico Turri
32dc4709a4 Workaround to fix gizmos' imgui dialog not showing up the first time the user activates them by using keyboard shortcuts. 2019-08-23 12:27:46 +02:00
Lukas Matena
1d8e060b75 Followup of previous commits - removing some unnecessary code 2019-08-23 12:11:45 +02:00
Lukas Matena
bf232e1ade Fixed forward declaration of struct Slic3r::UndoRedo::Snapshot so MSVC does not complain 2019-08-23 10:34:16 +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
YuSanka
77d793c540 KBShortcutsDialog is changed to ScrollWindow 2019-08-23 09:44:03 +02:00
Enrico Turri
189312624a Disable layers editing if enabled while switching to SLA printer 2019-08-23 09:27:15 +02:00
Lukas Matena
52933d1bab Recalculate SLA supports after undo/redo in case SLA gizmo was active and had supports when the snapshot was taken 2019-08-23 01:42:59 +02:00
Lukas Matena
b55a140ad4 SLA gizmo takes snapshots on opening and closing 2019-08-23 01:42:59 +02:00
Lukas Matena
c736b657d4 SLA gizmo now refuses to close with unsaved changes in editing mode 2019-08-23 01:42:59 +02:00
Lukas Matena
24b9c926c6 GLGizmoManager.cpp: Initial work on the possibility of a gizmo refusing to close 2019-08-23 01:42:59 +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
YuSanka
628d2a2614 Fixed "split to part" for Undo/Redo stack 2019-08-22 15:43:06 +02:00