Commit Graph

732 Commits

Author SHA1 Message Date
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
314ee4ae55 Custom bed texture applied to custom bed shapes 2019-07-24 10:11:17 +02:00
d14e0d2c90 1st installment for selection's undo/redo snapshots 2019-07-23 15:14:08 +02:00
adbc6392eb Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_bed 2019-07-22 11:57:17 +02:00
538280748d Update Arrange tooltip: [Shift+A] 2019-07-22 11:36:56 +02:00
c1283e0453 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_bed 2019-07-22 11:26:02 +02:00
71f08c797e Merge branch 'tm_arrange_selection' 2019-07-22 11:14:34 +02:00
9f742ddaa3 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_bed 2019-07-22 08:21:40 +02:00
10212a1042 Added additional tooltip to toolbar items and use it for undo/redo items 2019-07-20 14:03:34 +02:00
3924f14452 Reworked rendering of toolbars background texture 2019-07-20 12:02:29 +02:00
124aa9a8ef Merge branch 'master' into tm_arrange_selection 2019-07-19 18:17:58 +02:00
83d6589be1 Fix of OSX Imgui Undo / Redo pull down list scaling issue. 2019-07-19 17:16:20 +02:00
d99da4b01b Simplified loading of the SLA support structures into the scene.
Fixed referesh of SLA support structures after Undo / Redo
and when moving an object outside / inside the build volume.
2019-07-19 17:14:37 +02:00
8eba63c697 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-07-19 15:59:35 +02:00
2824a1531e Undo / Redo pull down menu scaling fix on OSX Retina 2019-07-19 15:59:23 +02:00
53dc2efea5 Undo/Redo buttons moved into their own toolbar 2019-07-19 15:36:55 +02:00
d7a4560100 Refactoring in GLTexture 2019-07-19 11:18:19 +02:00
d40b4ae13c Tech ENABLE_TEXTURES_FROM_SVG set as default 2019-07-19 09:52:01 +02:00
3202db0943 Merge branch 'master' into tm_arrange_selection 2019-07-18 12:59:40 +02:00
3869be533f Fixed rendering of toolbars' textures with prespective camera 2019-07-18 11:36:17 +02:00
af93cc0e20 Fixes after merge with master. 2019-07-17 18:10:08 +02:00
d55dbf437c Merge branch 'master' into tm_arrange_selection 2019-07-17 17:25:31 +02:00
459dd8f1af Fixed use of translate macros 2019-07-17 14:13:50 +02:00
e4ca9488ce Another refactoring of GLGizmosManager 2019-07-17 12:43:27 +02:00
9949bb1c1d Added undo/redo snapshot for layers height editing 2019-07-17 10:03:00 +02:00
96681151a9 Framework to serialize gizmos into undo/redo stack
Serialization into undo/redo of Cut gizmo

Refactoring of GLGizmosManager
2019-07-17 08:38:48 +02:00
b3217c191d Priority for wipe tower, Increased safety distance from bed edges.
* WipeTowerInfo class extended in plater (WipeTower) instead of GLCanvas3D
* Bed origin support in ModelInstance and WipeTower
2019-07-16 18:33:42 +02:00
b68d5950ac Arrange cache in ModeInstance and logical bed remembered. 2019-07-15 17:30:44 +02:00
f2cc464319 Fix of the SLA Undo 2019-07-15 15:51:25 +02:00
d37b8faa52 Fix of the merge - missing Undo / Redo toolbar buttons. 2019-07-15 11:59:54 +02:00
e8e35579dd Merge remote-tracking branch 'remotes/origin/vb_undo_redo' 2019-07-15 11:34:18 +02:00