Commit Graph

10339 Commits

Author SHA1 Message Date
Lukas Matena
f61c982111 GCode.cpp: fixed detection of empty layers so it doesn't give false positives
That could happen on empty support layers which do not necessarily matter, since their spacing is not generally synchronized with the object
The new hopefully correct logic is "if there are extrusions on a layer, check that last layer with extrusions is at most the new layer height below
This is a fixup of changes from 0de6e53 and 6ab1cec
2019-08-07 10:54:36 +02:00
Vojtech Bubnik
5ee69842d0 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-06 19:53:47 +02:00
Vojtech Bubnik
d36c64873d Fix of a Linux / GTK specific crash on deleting of Layers from the side panel: wxWidgets / GTK internally delays the EnsureVisible() call to Idle processing. If the item is deleted after EnsureVisible() is planned and before the Idle processed, the Idle processing routine works with deleted data 2019-08-06 19:53:20 +02:00
YuSanka
91e0b7aa9a Fixed control of options category for single material profiles 2019-08-06 19:02:17 +02:00
bubnikv
621a552dc0 Redirect requests for the Prusa web pages with Slovak locale active
to Czech web pages.
2019-08-06 17:27:36 +02:00
bubnikv
4dd9817176 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-06 17:10:39 +02:00
bubnikv
c7962b5c20 Added missing include 2019-08-06 17:10:03 +02:00
tamasmeszaros
09ffbc9d4c Add new entry to keyboard shortcuts for 'arrange selection' 2019-08-06 16:53:17 +02:00
bubnikv
9905f8d349 Fix of the previous commit: zero extrusion width parameter is
always valid, it is replaced with an "auto" value.
2019-08-06 15:36:16 +02:00
bubnikv
74e592ceaa Improved handling of excessive extrusion width values (too small
or too big).
Fixes std: bad_alloc #2715
2019-08-06 15:11:46 +02:00
bubnikv
29d9c65ee2 Missing include (required by clang, not required by msvc) 2019-08-06 11:40:33 +02:00
bubnikv
9197e3feed Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-06 11:29:39 +02:00
bubnikv
e1ff808f14 Fixed parallelization of texture compression:
Memory synchronization (memory barriers) are introduced using
std::atomic variables.
2019-08-06 11:29:26 +02:00
YuSanka
b43f7c3880 Generated new POT-file
Fixed lines with translation of the empty strings
2019-08-06 10:01:10 +02:00
YuSanka
13ee32538a Fixed selection after multiple selected Copy/Paste 2019-08-06 09:41:09 +02:00
Lukas Matena
b0d4cb6e06 Memory usage is now shown in SysInfoDialog on all three platforms 2019-08-05 20:17:29 +02:00
bubnikv
ef0e323d1b Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-05 17:49:31 +02:00
bubnikv
cf2f16d864 Fixed Model::convert_multipart_object() for STLs (regression from 8e2af5151dcf6f102b65981ff5aa56c2dfda5a2a).
Removed Model::s_auto_extruder_id and related, as it is a Perl interfacing legacy.
Fixed a typo in asserts introduced in the preceding commit.
2019-08-05 17:49:21 +02:00
Lukas Matena
6da196b419 Corrected return value of ConfigOptionVector::apply_override to what was intended (this didn't cause any bug though, the return value is currently not used) 2019-08-05 15:24:49 +02:00
bubnikv
219521f6ad Wording improvmenet of some error message. 2019-08-05 14:54:29 +02:00
bubnikv
c91df2c769 Fixed a typo in print_host variable name 2019-08-05 14:36:50 +02:00
bubnikv
7e1d2daf78 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-05 14:30:42 +02:00
bubnikv
731e5abd88 Fixed a regression issue where excessive memory was allocated
for the GLVolumes before sending to the GPU driver. The following commits
were partially reverted:

4269c8b23c Removed GLVolume non-VBO rendering
d15698e21e GLVolume and GLIndexedVertexArray refactored to send data to gpu at the first render call

Namely, the GLVolume buffers are "shrink to size"'d before sending their
content to the OpenGL driver, and the vertex buffers are populated
as quickly as possible from the GLVolume, so that the same buffer is not
kept twice in RAM on systems, where the RAM is shared with the graphics
card.

Also the memory allocation reporting was improved for the GLVolumes.
2019-08-05 14:30:32 +02:00
Lukas Matena
3efae8a03e Added a memory logging function for Mac and Linux 2019-08-05 13:39:03 +02:00
Lukas Matena
0de6e53219 Followup of 6ab1cec - empty layers are ok if there are only other empty layers on top of them
Also fixed a possible crash in Print.cpp when preparing the wipe tower layers
2019-08-04 22:57:59 +02:00
Enrico Turri
8078e00c13 Fixed automatic update of perspective camera 2019-08-03 09:07:38 +02:00
Enrico Turri
77df54947b Follow-up of c791ba776f -> Estimated times for color print layed-out as 'time for color (remaining time at color start)' 2019-08-03 08:51:03 +02:00
YuSanka
eaccd73756 Added InvalidItem() to ObjectDataViewModel to controling if item till exist during multiple deleting
+ some code cleaning
2019-08-02 17:53:35 +02:00
Lukas Matena
6ab1cec48c Empty layers detection added to GCode.cpp
Added detection of empty layers so the wipe tower doesn't trip on them (it is not printable anyway).
This should improve wipe tower reliability with supports, objects standing on edges, etc.
I also turned an assert into exception throw to prevent hard crashes and nonsense output.
2019-08-02 16:54:18 +02:00
YuSanka
3b24565411 Fixed wrong naming of bottom infill pattern 2019-08-02 16:16:12 +02:00
Enrico Turri
be72e23dec Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-08-02 15:30:59 +02:00
Enrico Turri
1cdc3e0493 Workaround for gizmos being clipped by the perspective camera 2019-08-02 15:30:37 +02:00
Vojtech Kral
bfb135bcc3 Comment out stale implementation in Serial, fix #2150 2019-08-02 15:20:52 +02:00
Enrico Turri
c791ba776f Added absolute time to estimated time for color print and fixed a bug in showing estimated times for print color for silent mode 2019-08-02 12:05:02 +02:00
Enrico Turri
28cc595350 #2593 - Fixed loading of .zip.amf files when running from command line 2019-08-02 09:43:41 +02:00
YuSanka
9471c9cd17 Implemented FR #2633 2019-08-01 16:25:08 +02:00
YuSanka
ec9117cc06 Split snapshot text for separated fazes (in ObjectList) 2019-08-01 15:40:42 +02:00
Lukas Matena
170bd8b064 Wipetower fix: temperature-changing command was sometimes missing after the toolchange
Cause: variable holding last issued temperature was not reset where it should have been
This should fix issue #2685
2019-08-01 15:31:02 +02:00
bubnikv
07250bd781 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-01 15:25:40 +02:00
bubnikv
9f393e6b9b Not taking the snapshot with non-empty Redo stack will likely be more confusing than losing the Redo stack.
Let's wait for user feedback.
2019-08-01 15:25:35 +02:00
YuSanka
c2a43dc864 Mirroring buttons: Fixed scaling issues and ensured proper hiding on Win 2019-08-01 14:39:23 +02:00
Lukas Matena
98e08e356f Changed snapshot names for reset scale/reset rotation/drop to bed functions (it's done a bit simpler this time) 2019-08-01 12:41:31 +02:00
Lukas Matena
81ab43ea9a Revert "Changed snapshot names for reset rotation/reset scale/drop to bed functions"
This reverts commit 1ca8ff1285.
2019-08-01 12:23:39 +02:00
bubnikv
576643c7ed Bumped up the version to 2.1.0-alpha0.
Updated the bundled profiles to integrate retract overrides
for PET and FLEX materials.
2019-08-01 11:53:22 +02:00
Enrico Turri
5f89414501 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-08-01 11:01:26 +02:00
Enrico Turri
299739eeda Refactoring into GLTexture::Compressor 2019-08-01 11:01:18 +02:00
Lukas Matena
1ca8ff1285 Changed snapshot names for reset rotation/reset scale/drop to bed functions 2019-08-01 10:58:52 +02:00
Enrico Turri
f913bbf8ef Reverted order of items in recent projects list 2019-08-01 09:03:06 +02:00
YuSanka
47c9714062 Added Real-Time DXT1/DXT5 C compression library to CopyrightsDialog
+ updated icons for mirroring
2019-07-31 17:38:06 +02:00
YuSanka
78645ca9ce Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-07-31 17:14:51 +02:00