Commit Graph

10876 Commits

Author SHA1 Message Date
tamasmeszaros
679f1562c1 Merge branch 'master' into tm_zero_elev_ui 2019-08-07 15:28:17 +02:00
bubnikv
99e2cb87be Yet another fix of the preceding commit. 2019-08-07 15:03:43 +02:00
bubnikv
c6bef3b0b6 GLCanvas requires 8bit alpha channel for picking checksums. 2019-08-07 14:55:34 +02:00
bubnikv
85e8354e1e Merge remote-tracking branch 'remotes/origin/master' into vb_picking_fix 2019-08-07 14:31:16 +02:00
bubnikv
d381dbab09 Merge remote-tracking branch 'remotes/origin/ys_printable_property' into vb_picking_fix 2019-08-07 14:31:00 +02:00
YuSanka
5babe20d93 Added printable state update on canvas from Undo/redo 2019-08-07 14:28:46 +02:00
bubnikv
3e150f72bf Finished picking by color with a checksum in the alpha channel
to guard against unwanted alpha blending and / or multi sampling.
2019-08-07 14:15:38 +02:00
YuSanka
d4c5f93310 Added printable property for object with instances 2019-08-07 14:11:41 +02:00
Lukas Matena
f9e5c31fb8 One more fix on the empty layers detection - support contact z distance is taken into account
If it wasn't, anything with raft would be rejected unless contact z was zero. We do not want that.
2019-08-07 12:02:30 +02:00
bubnikv
e0949c764e WIP: Improvement in the picking robustness: store a checksum
into the alpha channel.
2019-08-07 11:37:38 +02:00
tamasmeszaros
a8a20faab8 Fix build without PCH 2019-08-07 11:17:17 +02:00
bubnikv
7f0a308881 WIP: Picking fix - disable alpha blending and render with false colors
including the alpha channels, which have their 3 lowest bits set to zero.
In case some blending occurs, the lowest 3 bits will likely be used
to interpolate between the false colors, therefore the 3 lowest bits
may be used to detect alpha blending or multi-sampling.
2019-08-07 11:14:04 +02:00
Lukas Matena
65e6f07580 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
bubnikv
9d4b69ec02 ModelInstance::is_printable() takes into account printability
of the parent ModelObject.
2019-08-07 10:18:16 +02:00
bubnikv
36742b4873 Merge remote-tracking branch 'remotes/origin/master' into ys_printable_property 2019-08-07 08:43:11 +02:00
Vojtech Bubnik
a3c05b8700 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-06 19:53:47 +02:00
Vojtech Bubnik
5def2c93f6 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
987f5e5728 Fixed control of options category for single material profiles 2019-08-06 19:02:17 +02:00
tamasmeszaros
65d06e9962 WIP: Pad quick-menu 2019-08-06 18:16:02 +02:00
bubnikv
e3de8df2f9 Redirect requests for the Prusa web pages with Slovak locale active
to Czech web pages.
2019-08-06 17:27:36 +02:00
bubnikv
30b2aa84a4 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-06 17:10:39 +02:00
bubnikv
e5947c4d1c Added missing include 2019-08-06 17:10:03 +02:00
tamasmeszaros
dae058f454 Merge branch 'master' into tm_zero_elev_ui 2019-08-06 16:54:46 +02:00
tamasmeszaros
0254534c68 Add new entry to keyboard shortcuts for 'arrange selection' 2019-08-06 16:53:17 +02:00
tamasmeszaros
9a9c03251a Added additional checkbox to enable zero elevation 2019-08-06 16:51:32 +02:00
YuSanka
3356c86cc7 Merge remote-tracking branch 'origin' into ys_printable_property 2019-08-06 16:28:25 +02:00
YuSanka
f1294e7a67 Save/load printable flag to/from 3mf and amf 2019-08-06 16:27:56 +02:00
bubnikv
80f3de1e65 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
c711a72e2a 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
55fec86950 Missing include (required by clang, not required by msvc) 2019-08-06 11:40:33 +02:00
bubnikv
0001659e0a Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-06 11:29:39 +02:00
bubnikv
5e49954098 Fixed parallelization of texture compression:
Memory synchronization (memory barriers) are introduced using
std::atomic variables.
2019-08-06 11:29:26 +02:00
YuSanka
0fcc6cb159 Merge remote-tracking branch 'origin' into ys_printable_property 2019-08-06 10:31:17 +02:00
YuSanka
a047cf0743 Generated new POT-file
Fixed lines with translation of the empty strings
2019-08-06 10:01:10 +02:00
YuSanka
af0ab411d9 Fixed selection after multiple selected Copy/Paste 2019-08-06 09:41:09 +02:00
Lukas Matena
ef94b179f5 Memory usage is now shown in SysInfoDialog on all three platforms 2019-08-05 20:17:29 +02:00
bubnikv
c11baee1fe Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-05 17:49:31 +02:00
bubnikv
f2aba5d27a 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
d78315aefb 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
YuSanka
203aab6fd6 Implemented update on canvas of a printable state for new volumes added from ObjectList 2019-08-05 14:57:30 +02:00
bubnikv
9622a88d6a Wording improvmenet of some error message. 2019-08-05 14:54:29 +02:00
bubnikv
f998d6a297 Fixed a typo in print_host variable name 2019-08-05 14:36:50 +02:00
bubnikv
bffa3c125d Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-05 14:30:42 +02:00
bubnikv
b0fc0cf49f 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
04bc566fd9 Added a memory logging function for Mac and Linux 2019-08-05 13:39:03 +02:00
YuSanka
d74b6cbc1d Fixed OnContextMenu() under OSX 2019-08-05 11:02:56 +02:00
YuSanka
13966f11d7 Added call a toggle printable property for instance from ObjectList 2019-08-05 10:05:28 +02:00
YuSanka
ccf167b29c Merge remote-tracking branch 'origin/master' into ys_printable_property 2019-08-05 08:45:47 +02:00
YuSanka
2032cb0c89 Implemented set printable state for ObjectList 2019-08-05 08:44:55 +02:00
Lukas Matena
313ad7bf00 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