Commit Graph

8562 Commits

Author SHA1 Message Date
d7a4560100 Refactoring in GLTexture 2019-07-19 11:18:19 +02:00
1f727bca37 Memory statistics (total memory, memory usage, Undo / Redo stack size)
into the System INfo dialog.
2019-07-19 11:12:38 +02:00
2595c613c8 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-07-19 10:29:17 +02:00
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
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
d40b4ae13c Tech ENABLE_TEXTURES_FROM_SVG set as default 2019-07-19 09:52:01 +02:00
c1f6dd7b06 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_bed 2019-07-19 09:18:32 +02:00
6f6309fb64 Render custom bed textures in png format on prusa beds 2019-07-19 09:18:09 +02:00
fb23d8e6fa Fix of osx builds 2019-07-18 18:19:40 +02:00
0f608dd9f8 Merge remote-tracking branch 'remotes/origin/master' into vb_undo_redo2 2019-07-18 17:42:10 +02:00
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
698c2de245 Further refactoring 2019-07-18 17:31:27 +02:00
9d909a0ee4 Merge branch 'master' into tm_arrange_selection 2019-07-18 16:33:16 +02:00
4ea7e9bdf7 Eliminate some igl warnings on msvc 2019-07-18 16:32:04 +02:00
58581347c9 Minor refactor 2019-07-18 16:30:32 +02:00
960359b848 Small refactoring 2019-07-18 15:03:05 +02:00
9c9b29a8a9 Render custom bed textures in svg format on prusa beds 2019-07-18 14:39:19 +02:00
701a94bdb6 Merge remote-tracking branch 'remotes/origin/master' into vb_undo_redo2 2019-07-18 13:08:48 +02:00
3202db0943 Merge branch 'master' into tm_arrange_selection 2019-07-18 12:59:40 +02:00
4d5a6bfc94 Remove arrange cache. 2019-07-18 12:58:28 +02:00
ad1482c09a Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_bed 2019-07-18 12:57:12 +02:00
0425cb77b3 Added selection of custom bed model to bed shape dialog 2019-07-18 12:56:52 +02:00
3bae5db6ef Fix for compilation on clang: Forward declarations of templates. 2019-07-18 12:07:50 +02:00
8603f6eeb3 Partially revert 8febd88e80 2019-07-18 12:03:41 +02:00
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
3869be533f Fixed rendering of toolbars' textures with prespective camera 2019-07-18 11:36:17 +02:00
74ce479402 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_bed 2019-07-18 11:12:30 +02:00
dfb9d127d4 Added selection of custom bed texture to bed shape dialog 2019-07-18 11:12:11 +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
6791a93ac1 libnest2d: Remove old preload method from selector interface 2019-07-17 17:19:42 +02:00
302eaf16cb Really fix build for msvc 2019-07-17 16:47:09 +02:00
5e5eb8cfb2 Fix after merge 2019-07-17 16:00:09 +02:00
5a24b6af21 Merge remote-tracking branch 'remotes/origin/master' into vb_undo_redo2 2019-07-17 15:54:57 +02:00
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
de9581304a 'Place on face' gizmo fix (it used invalid pointer after undo/redo was implemented) 2019-07-17 15:39:58 +02:00
c2631875f6 SLA support points edits are now pushed onto undo/redo stack 2019-07-17 15:39:58 +02:00
5353f8bae5 Refactoring of BedShapePanel and BedShapeDialog 2019-07-17 14:53:02 +02:00
6174d776b4 Fix for msvc build. 2019-07-17 14:34:28 +02:00
b09bd77eb4 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_bed 2019-07-17 14:28:12 +02:00
459dd8f1af Fixed use of translate macros 2019-07-17 14:13:50 +02:00
3eeb453e9a Solved issue with virtual bed management.
libnest2d: Fix for unclosed polygons after merge.
2019-07-17 13:32:31 +02:00
8e50469a99 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_bed 2019-07-17 13:17:50 +02:00
e4ca9488ce Another refactoring of GLGizmosManager 2019-07-17 12:43:27 +02:00
7088dfb1a0 Refactoring of GLGizmosXX classes to cleanup their interface 2019-07-17 12:06:23 +02:00
9949bb1c1d Added undo/redo snapshot for layers height editing 2019-07-17 10:03:00 +02:00
e31102e159 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-07-17 08:38:58 +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
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