Commit Graph

762 Commits

Author SHA1 Message Date
03507f9b7d ENABLE_ENHANCED_RELOAD_FROM_DISK set as default 2019-09-23 15:35:49 +02:00
b4046dd27e Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_reload_from_disk 2019-09-23 08:27:01 +02:00
b9894c36c4 Follow-up of 8aaff08355 -> Do not show the new context menu when the user pans the scene + cleanup 2019-09-20 11:19:06 +02:00
8704f35348 Merge branch 'dev' of https://github.com/prusa3d/PrusaSlicer into dev 2019-09-20 09:58:33 +02:00
4e35bf53c7 Added Possibility to create "shape" as an independent object from 3dScene,
using right click on empty place
2019-09-20 09:57:27 +02:00
3796ae0343 #2948 - Max zoom takes in account custom bed model size 2019-09-20 09:53:35 +02:00
0c461f6db6 Added tech ENABLE_ENHANCED_RELOAD_FROM_DISK
1) Reworked void Plater::priv::reload_from_disk() to be more general

2) Added source data to class ModelVolume

3) Modified .3mf import/export to save/load volume matrices and source data

4) Incremented .3mf version to 2
2019-09-19 09:09:11 +02:00
7e573119ff Fixed rotate gizmo hovering 2019-09-09 12:11:49 +02:00
e840478539 Merge branch 'dev' of https://github.com/prusa3d/PrusaSlicer into et_reload_from_disk 2019-09-06 16:06:37 +02:00
080792f9ed Fixed some more warnings, moved function to get ExtrusionRole name into ExtrusionEntity.hpp
So it can be called from wherever it may be needed
2019-09-06 15:55:07 +02:00
82a2b20afb Do not render intermediate states while reload from disk action is taking place 2019-09-06 13:49:15 +02:00
9d5e872865 DoubleSlider refactoring 2019-09-05 15:31:22 +02:00
b83c783658 Fixed ColorPrint Legend update if Print preset was changed and model was resliced. 2019-09-05 09:13:59 +02:00
f61fe06794 Removed a bunch of compile warnings 2019-09-04 09:47:00 +02:00
dce4a179d0 Fix of "Extra overhanging perimeters are added in 2.1.0-beta3" #2857
Two bugs were fixed:

1) An entry in the GLVolume index was not always created when it should
	have been.

2) Removing empty volumes from the list of GLVolumes did not update
	the GLVolume index. This is an old issue, but it likely surfaced
	now with the introduction of splitting the large GLVolumes
	into multiple shorter ones.
2019-09-02 11:47:11 +02:00
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
6d3f7fd6f8 Plurals for number of Undo / Redo actions. 2019-08-28 16:19:46 +02:00
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
5af10ba0b9 Reworderd undo / redo tooltips 2019-08-27 11:49:46 +02:00
039e4bbcff Improved wording of some UI texts and tooltips. 2019-08-27 11:39:51 +02:00
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
3d8388cdc2 Time optimization of GLCanvas3D::_travel_paths_by_feedrate() 2019-08-26 11:41:25 +02:00
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
263a7faa45 Follow-up of 32dc4709a4 -> A more general fix 2019-08-26 09:06:21 +02:00
857e22c343 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
59b72310b6 Disable layers editing if enabled while switching to SLA printer 2019-08-23 09:27:15 +02:00
170b1b1fa2 Check for existence of gcode toolpaths that can be exported to obj file 2019-08-20 11:33:58 +02:00
709ac9bb3f 1st installment of export of gcode toolpaths to obj file 2019-08-20 09:01:09 +02:00
58059eed79 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
9e540e3450 Update volumes on 3DScene, after adding of part for unprintable object 2019-08-16 13:14:51 +02:00
de3b001622 Fixed extra "Add_Selection" snapshot on call context menu from scene
+ Added take_snapshot for toggle_instance_printable_state
2019-08-09 09:49:10 +02:00
cb4d91252f 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
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
e0949c764e WIP: Improvement in the picking robustness: store a checksum
into the alpha channel.
2019-08-07 11:37:38 +02:00
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
0fcc6cb159 Merge remote-tracking branch 'origin' into ys_printable_property 2019-08-06 10:31:17 +02:00
a047cf0743 Generated new POT-file
Fixed lines with translation of the empty strings
2019-08-06 10:01:10 +02:00
203aab6fd6 Implemented update on canvas of a printable state for new volumes added from ObjectList 2019-08-05 14:57:30 +02:00
bffa3c125d Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-05 14:30:42 +02:00
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
c1cdd30f3a Workaround for gizmos being clipped by the perspective camera 2019-08-02 15:30:37 +02:00
ca368a2116 Merge remote-tracking branch 'remotes/origin/et_custom_bed' 2019-07-30 16:48:47 +02:00
d3fe0564bb Merge branch 'lm_sla_gizmo_undo' 2019-07-30 14:52:44 +02:00
a632cc86ba Fix of #2401 2019-07-29 15:44:00 +02:00
b3ad06b655 Hiding the sla support structures after undo/redo 2019-07-28 11:37:08 +02:00
eb40cdef49 Code cleanup 2019-07-26 11:32:44 +02:00
b70057bdda Refactoring into rendering pipeline 2019-07-26 09:45:22 +02:00
9e9e85dcf3 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_selection_undoredo 2019-07-25 15:29:58 +02:00
95237ad560 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_bed 2019-07-25 15:29:25 +02:00
f160e2b623 Removed obsolete code 2019-07-25 15:28:34 +02:00