Commit Graph

13712 Commits

Author SHA1 Message Date
Enrico Turri
53dc2efea5 Undo/Redo buttons moved into their own toolbar 2019-07-19 15:36:55 +02:00
bubnikv
fbe3c41001 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-07-19 15:29:15 +02:00
bubnikv
5945c13ae6 Undo / Redo. Workaround for the Wipe tower. 2019-07-19 15:29:04 +02:00
Lukas Matena
8aad1fd1f1 Wipe tower accounts for extruder offsets
Also, in case of non-single-extruder printer with the wipe tower, first wiping line was printed where the border should have been - fixed
2019-07-19 13:00:10 +02:00
tamasmeszaros
947bf7e638 Fix for incorrect inside check of fixed items.
libnest2d: Add dispatched overloads for offsetting different shapes.
2019-07-19 12:34:27 +02:00
Enrico Turri
ae711d251a Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_bed 2019-07-19 11:36:07 +02:00
Enrico Turri
d7a4560100 Refactoring in GLTexture 2019-07-19 11:18:19 +02:00
bubnikv
1f727bca37 Memory statistics (total memory, memory usage, Undo / Redo stack size)
into the System INfo dialog.
2019-07-19 11:12:38 +02:00
bubnikv
2595c613c8 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-07-19 10:29:17 +02:00
bubnikv
f4fa4ff6e4 Adding a generic bitmap "flags" attrib to the Undo / Redo snapshot.
using this new "flags" attrib to store & recover the "Layers editing active"
flag and restoring the "Layers editing" tool state.
2019-07-19 10:29:06 +02:00
Lukas Matena
c2418d2fbf Process start_filament_gcode in case of usual single extruder printer
Reported in https://github.com/prusa3d/PrusaSlicer/issues/2652
2019-07-19 10:02:52 +02:00
Enrico Turri
d40b4ae13c Tech ENABLE_TEXTURES_FROM_SVG set as default 2019-07-19 09:52:01 +02:00
Enrico Turri
c1f6dd7b06 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_bed 2019-07-19 09:18:32 +02:00
Enrico Turri
6f6309fb64 Render custom bed textures in png format on prusa beds 2019-07-19 09:18:09 +02:00
bubnikv
fb23d8e6fa Fix of osx builds 2019-07-18 18:19:40 +02:00
bubnikv
0f608dd9f8 Merge remote-tracking branch 'remotes/origin/master' into vb_undo_redo2 2019-07-18 17:42:10 +02:00
bubnikv
e103460386 Storing the active printer technology onto the Undo / Redo stack,
remembering the last selected Printer profile for the SLA and FDM
technologies separately, and activating them on Undo / Redo.

When switching the technologies, user is asked whether to discard
the modified profiles or not.
2019-07-18 17:41:47 +02:00
tamasmeszaros
698c2de245 Further refactoring 2019-07-18 17:31:27 +02:00
tamasmeszaros
9d909a0ee4 Merge branch 'master' into tm_arrange_selection 2019-07-18 16:33:16 +02:00
tamasmeszaros
4ea7e9bdf7 Eliminate some igl warnings on msvc 2019-07-18 16:32:04 +02:00
tamasmeszaros
58581347c9 Minor refactor 2019-07-18 16:30:32 +02:00
Enrico Turri
960359b848 Small refactoring 2019-07-18 15:03:05 +02:00
Enrico Turri
9c9b29a8a9 Render custom bed textures in svg format on prusa beds 2019-07-18 14:39:19 +02:00
bubnikv
701a94bdb6 Merge remote-tracking branch 'remotes/origin/master' into vb_undo_redo2 2019-07-18 13:08:48 +02:00
tamasmeszaros
3202db0943 Merge branch 'master' into tm_arrange_selection 2019-07-18 12:59:40 +02:00
tamasmeszaros
4d5a6bfc94 Remove arrange cache. 2019-07-18 12:58:28 +02:00
Enrico Turri
ad1482c09a Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_bed 2019-07-18 12:57:12 +02:00
Enrico Turri
0425cb77b3 Added selection of custom bed model to bed shape dialog 2019-07-18 12:56:52 +02:00
bubnikv
3bae5db6ef Fix for compilation on clang: Forward declarations of templates. 2019-07-18 12:07:50 +02:00
Enrico Turri
8603f6eeb3 Partially revert 8febd88e80 2019-07-18 12:03:41 +02:00
bubnikv
dcb1875e40 Undo / Redo memory conservation strategy: Release recoverable data
starting from the objects of lowest ObjectID.
(convex hulls are recoverable as well as the indexed triangle sets
inside the TriangleMeshes or the triangle connectivity information).

Now the top most snapshot (the temp one taken before Undo jump) will
never be released.
2019-07-18 11:51:06 +02:00
Enrico Turri
3869be533f Fixed rendering of toolbars' textures with prespective camera 2019-07-18 11:36:17 +02:00
Enrico Turri
74ce479402 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_bed 2019-07-18 11:12:30 +02:00
Enrico Turri
dfb9d127d4 Added selection of custom bed texture to bed shape dialog 2019-07-18 11:12:11 +02:00
tamasmeszaros
af93cc0e20 Fixes after merge with master. 2019-07-17 18:10:08 +02:00
tamasmeszaros
d55dbf437c Merge branch 'master' into tm_arrange_selection 2019-07-17 17:25:31 +02:00
tamasmeszaros
6791a93ac1 libnest2d: Remove old preload method from selector interface 2019-07-17 17:19:42 +02:00
tamasmeszaros
302eaf16cb Really fix build for msvc 2019-07-17 16:47:09 +02:00
bubnikv
5e5eb8cfb2 Fix after merge 2019-07-17 16:00:09 +02:00
bubnikv
5a24b6af21 Merge remote-tracking branch 'remotes/origin/master' into vb_undo_redo2 2019-07-17 15:54:57 +02:00
bubnikv
d30229cc5f WIP: Undo / Redo memory limiting by releasing the least recently
used snapshots. Memory limit set to 10% of physical system memory.
2019-07-17 15:48:53 +02:00
Lukas Matena
de9581304a 'Place on face' gizmo fix (it used invalid pointer after undo/redo was implemented) 2019-07-17 15:39:58 +02:00
Lukas Matena
c2631875f6 SLA support points edits are now pushed onto undo/redo stack 2019-07-17 15:39:58 +02:00
Enrico Turri
5353f8bae5 Refactoring of BedShapePanel and BedShapeDialog 2019-07-17 14:53:02 +02:00
tamasmeszaros
6174d776b4 Fix for msvc build. 2019-07-17 14:34:28 +02:00
Enrico Turri
b09bd77eb4 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_bed 2019-07-17 14:28:12 +02:00
Enrico Turri
459dd8f1af Fixed use of translate macros 2019-07-17 14:13:50 +02:00
tamasmeszaros
3eeb453e9a Solved issue with virtual bed management.
libnest2d: Fix for unclosed polygons after merge.
2019-07-17 13:32:31 +02:00
Enrico Turri
8e50469a99 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_bed 2019-07-17 13:17:50 +02:00
Enrico Turri
e4ca9488ce Another refactoring of GLGizmosManager 2019-07-17 12:43:27 +02:00