Commit Graph

10083 Commits

Author SHA1 Message Date
Enrico Turri
459dd8f1af Fixed use of translate macros 2019-07-17 14:13:50 +02:00
Enrico Turri
e4ca9488ce Another refactoring of GLGizmosManager 2019-07-17 12:43:27 +02:00
Enrico Turri
7088dfb1a0 Refactoring of GLGizmosXX classes to cleanup their interface 2019-07-17 12:06:23 +02:00
Enrico Turri
9949bb1c1d Added undo/redo snapshot for layers height editing 2019-07-17 10:03:00 +02:00
Enrico Turri
e31102e159 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-07-17 08:38:58 +02:00
Enrico Turri
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
Lukas Matena
b2d67c3e56 Wipe tower fix (do not skip the first toolchange when printing without the wipe tower)
Also, test multi.t updated so it matches new logic of inserting custom gcodes
2019-07-16 13:10:09 +02:00
bubnikv
2604b9e059 Fixed compilation issue 2019-07-16 09:19:00 +02:00
Lukas Matena
a869ad2ff5 Fixed a use-after-free problem in object list
this was uncovered by ASAN when attempting to Delete All objects with multiple instances
2019-07-15 17:09:06 +02:00
bubnikv
4a46a408fb Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-07-15 15:51:31 +02:00
bubnikv
f2cc464319 Fix of the SLA Undo 2019-07-15 15:51:25 +02:00
Lukas Matena
d2c908ef7f Merge branch 'master' into lm_warnings 2019-07-15 13:26:55 +02:00
bubnikv
c8a25c92c4 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-07-15 12:00:10 +02:00
bubnikv
d37b8faa52 Fix of the merge - missing Undo / Redo toolbar buttons. 2019-07-15 11:59:54 +02:00
Lukas Matena
72e28fb1d3 Updated tooltips on custom gcodes to match actual PrusaSlicer behaviour to reflect recent changes 2019-07-15 11:49:30 +02:00
bubnikv
e8e35579dd Merge remote-tracking branch 'remotes/origin/vb_undo_redo' 2019-07-15 11:34:18 +02:00
Lukas Matena
ff69c030d7 Merge branch 'lm_improving_wipe_tower'. Summary of changes:
- wipe tower respects max volumetric flow, slowing down with PVA etc is not hardcoded anymore
- wipe tower is now allowed for multiple-extruder printers. single extruder stuff is not used in that case (ramming, cooling, etc.)
- start/end filament and toolchange custom gcodes are now inserted differently than before - see 41164a9
- some refactoring, e.g. the abstract WipeTower class was eradicated
2019-07-15 10:25:38 +02:00
YuSanka
d8e3b6fc01 Fix of #2621 2019-07-13 10:38:10 +02:00
Enrico Turri
e234866953 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-07-12 15:36:11 +02:00
Enrico Turri
ea4ff14fe8 #2616 - Added Recent projects item to File menu 2019-07-12 15:36:01 +02:00
YuSanka
2a123ec854 Finally fix for settings item selection 2019-07-12 13:56:56 +02:00
YuSanka
8b9dae3b1d Some code refactoring for settings items 2019-07-12 13:56:56 +02:00
YuSanka
35c2622111 Add take_snapshot for layers range editing actions 2019-07-12 13:56:56 +02:00
Lukas Matena
33065e5a82 Merge branch 'lm_drop_to_bed' 2019-07-12 13:38:18 +02:00
Lukas Matena
4f922fc49c GCodeAnalyzer now recognizes tool-changing commands with MakerWare and Sailfish flavor
These firmwares use M135 Tn and M108 Tn commands for changing active tool, which the analyzer did not recognize. The toolpaths were then rendered in wrong color, extruder offset etc. This surfaced in issue https://github.com/prusa3d/PrusaSlicer/issues/2566
2019-07-12 12:56:41 +02:00
Enrico Turri
2f43e228f3 Tech ENABLE_SVG_ICONS set as default 2019-07-12 10:13:35 +02:00
Enrico Turri
cbf50ccdca Follow-up of 4c6c608342 -> refactoring 2019-07-12 09:26:19 +02:00
YuSanka
4d9357a156 Merge remote-tracking branch 'origin/vb_undo_redo' into ys_undo_redo 2019-07-11 16:00:28 +02:00
YuSanka
897b8be048 Added suppress_snapshots() and allow_snapshots() for avoid of excess "snapshoting" 2019-07-11 16:00:01 +02:00
Enrico Turri
9c184f5112 GLToolbar and GLToolbarItem refactored to allow two different actions when left/right clicking on items.
Stack dialog for undo and redo items is now shown on right click only
2019-07-11 15:29:46 +02:00
Enrico Turri
b5624ca76f Deactivate undo/redo toolbar items by pressing Esc key 2019-07-11 07:54:33 +02:00
Enrico Turri
747900c308 Deactivate undo/redo toolbar items when leaving the 3D scene or clicking into it 2019-07-11 07:46:40 +02:00
YuSanka
560cd454e2 FreqChangedParams : workaround for right border alignment 2019-07-10 17:50:24 +02:00
YuSanka
566ffb34d4 Fixed margins for FreqChangedParams 2019-07-10 15:55:53 +02:00
Enrico Turri
7ad87de236 GLToolbar::m_imgui_hovered_pos replaced with GLCanvas3D::m_imgui_undo_redo_hovered_pos 2019-07-10 14:08:14 +02:00
Enrico Turri
107d3c0c82 Imgui dialogs for undo/redo centered on their toolbar item icon 2019-07-10 13:45:25 +02:00
Enrico Turri
0b5725b5cb Disable remaining toolbar items when one of them is toggable and pressed 2019-07-10 11:59:25 +02:00
YuSanka
b7ecb35a5a Merge remote-tracking branch 'origin/vb_undo_redo' into ys_undo_redo 2019-07-10 11:38:52 +02:00
YuSanka
fc3be32d1d Added take_snapshot() for adding of settings 2019-07-10 11:28:11 +02:00
Enrico Turri
1c68eb1fa3 Modified toolbar to call RenderCallback only when the item is toggable and pressed 2019-07-10 10:52:12 +02:00
YuSanka
c5a27bf798 Fixed redo_to() function and code cleaning from redundant options 2019-07-10 10:15:07 +02:00
YuSanka
237a46e311 Completed undo/redo from a toolbar 2019-07-09 20:45:00 +02:00
YuSanka
7b0d9169ba Merge remote-tracking branch 'origin/vb_undo_redo' into ys_undo_redo 2019-07-09 19:41:37 +02:00
YuSanka
0af1af0ae2 Next improvements of an undo/redo from a toolbar 2019-07-09 19:39:36 +02:00
Enrico Turri
a9ab3b2a8f Added color number in legend texture for color prints 2019-07-09 15:47:34 +02:00
Enrico Turri
9e3fbc6e63 Reverder order of rendering of color print time estimates 2019-07-09 15:08:34 +02:00
Enrico Turri
dad7ed919a Merge branch 'et_color_print_times' of https://github.com/prusa3d/PrusaSlicer 2019-07-09 14:24:24 +02:00
tamasmeszaros
03530eddcf Merge branch 'tm_builtin_pad' 2019-07-09 14:00:24 +02:00
tamasmeszaros
b061a5de6c Merge branch 'master' into tm_builtin_pad 2019-07-09 13:21:26 +02:00
tamasmeszaros
ed7e380d07 Fixing broken SLA slicing: SPE-984 2019-07-09 13:12:55 +02:00