Commit Graph

10146 Commits

Author SHA1 Message Date
tamasmeszaros
124aa9a8ef Merge branch 'master' into tm_arrange_selection 2019-07-19 18:17:58 +02:00
tamasmeszaros
6224c2e460 Dont do force_full_scene_refresh after arrange. 2019-07-19 18:16:36 +02:00
tamasmeszaros
31ca157cdf Arrange selection if shift is pressed. Remove first item centering 2019-07-19 18:10:10 +02:00
Vojtech Kral
3a30c45348 Fix a memory access bug in ObjectManipulation 2019-07-19 17:58:46 +02:00
bubnikv
83d6589be1 Fix of OSX Imgui Undo / Redo pull down list scaling issue. 2019-07-19 17:16:20 +02:00
bubnikv
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
bubnikv
8eba63c697 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-07-19 15:59:35 +02:00
bubnikv
2824a1531e Undo / Redo pull down menu scaling fix on OSX Retina 2019-07-19 15:59:23 +02:00
Enrico Turri
9f741dd46b Fixed conflicts after pulling from master 2019-07-19 15:47:10 +02:00
Enrico Turri
e59454652b Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-07-19 15:37:10 +02:00
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
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
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
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
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
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
tamasmeszaros
6174d776b4 Fix for msvc build. 2019-07-17 14:34:28 +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
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