Commit Graph

2180 Commits

Author SHA1 Message Date
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
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
3bd9bb360e Modified logic to add snapshots to undo/redo stack using GLCanvas::do_xxxxxx() methods 2019-07-09 10:18:57 +02:00
YuSanka
8cfe03033f Added undo/redo icons. Fist step to implementation Undo/Redo list for toolbar 2019-07-08 18:01:14 +02:00
YuSanka
5bc6f17e57 Added undo/redo to the "Edit" menu 2019-07-08 10:57:35 +02:00
bubnikv
fc47ab6b53 Undo / Redo: Bound Ctrl-V/Ctrl-Z to the side panel. 2019-07-05 20:27:44 +02:00
bubnikv
bc46cd3036 Fix of the Undo / Redo for Cut.
Added some more operations (for example Rotation) to the Undo / Redo.
2019-07-05 19:46:48 +02:00
bubnikv
445cd20919 Undo / Redo fixes 2019-07-05 19:06:19 +02:00
bubnikv
8953e0980c Fixed merge issues. 2019-07-04 20:49:46 +02:00
bubnikv
d98aa0f91d Merge remote-tracking branch 'origin/master' into vb_undo_redo 2019-07-04 20:22:15 +02:00
bubnikv
b52a3cbb9e Merge remote-tracking branch 'origin/ys_undo_redo' into vb_undo_redo 2019-07-04 20:15:50 +02:00
YuSanka
0f682282bf Update object list after undo/redo 2019-07-04 19:46:46 +02:00
bubnikv
e402cd2aa5 WIP Undo / Redo: Optional debug print outs. 2019-07-04 17:14:15 +02:00
bubnikv
ef9495150e WIP Undo / Redo : serialization / deserialization of object selection. 2019-07-04 14:35:04 +02:00
YuSanka
2204165f37 Merge remote-tracking branch 'origin/ys_default_presets' into ys_new_features 2019-07-04 14:30:54 +02:00
YuSanka
f0beb6511c Merge remote-tracking branch 'origin/master' into ys_new_features 2019-07-04 14:26:05 +02:00
YuSanka
8242e1fb1e Reset previous layers range selection before selection Layers Item 2019-07-04 14:25:40 +02:00
bubnikv
2bde3e12f2 WIP Undo / Redo: First Undo in the history of PrusaSlicer! 2019-07-04 10:45:41 +02:00
bubnikv
07e2066dd3 WIP Undo / Redo: Serializing the configs of ModelObject / ModelVolume
/ ModelMaterial as separate objects to conserve memory.
2019-07-03 13:43:54 +02:00
Enrico Turri
6694e45647 Fixed bed shape dialog layout 2019-07-03 10:06:22 +02:00
Enrico Turri
af90012cd6 Fixed compile warnings in Bed3D 2019-07-03 09:19:07 +02:00
Enrico Turri
760d68f2df Button 'Load shape from STL' centered into its panel in bed shape dialog 2019-07-03 08:58:05 +02:00
bubnikv
1ba1fd2b97 WIP UndoRedo: Added Undo/Redo stack, added Platter::take_snapshot(),
experimental snapshots on loading STLs and increasing / decreasing
model instances.
2019-07-02 16:42:23 +02:00
Enrico Turri
4d7f4d1313 View dependent order of rendering for layers editing visual hints to keep the correct transparency 2019-07-02 15:49:18 +02:00
YuSanka
358e61a2b2 Fix for the last commit 2019-07-02 15:26:11 +02:00
Enrico Turri
1240e0bb33 Follow-up of d07b3fb08b -> Show current bed shape for custom bed in bed shape dialog 2019-07-02 15:10:59 +02:00
YuSanka
2db15c620b Fixed colot_print issues:
* Disabled color change information for the SLA and FFF-multimaterial presets
* Corrected switch between "color print" and "feature type" on Preview
2019-07-02 14:06:58 +02:00
Enrico Turri
6c1a434e2c Visual hints for layers editing enabled whenever a layer is selected into the objects list 2019-07-02 10:34:30 +02:00
YuSanka
3b177f6429 Some changes for options tooltips 2019-07-01 16:56:38 +02:00
YuSanka
0a11d5aab1 Changed a behavior logic of a value reverting for presets, derived from default.
LOCKs and ARROWs work now in a same way like for presets, derived from system presets.
2019-07-01 14:56:28 +02:00
YuSanka
45a5576e8a Merge remote-tracking branch 'origin/master' into ys_new_features 2019-06-29 12:38:03 +02:00
Vojtech Kral
bcae0ae49c Merge branch 'bugfixes': avrdude warnings cleanup 2019-06-28 15:21:45 +02:00
YuSanka
e4efd22731 Some code improvements 2019-06-27 16:07:32 +02:00
Enrico Turri
53a9e648f3 Removed memory leaks due to Plater::priv::config not being deleted 2019-06-27 15:23:03 +02:00
Enrico Turri
4b4ea58b82 Removed memory leaks due to Sidebar::priv::object_manipulation, Sidebar::priv::object_settings and Sidebar::priv::frequently_changed_parameters not being deleted 2019-06-27 15:16:36 +02:00
Enrico Turri
3948ad63da Removed memory leaks due to GUI_App::app_config, GUI_App::preset_bundle and GUI_App::preset_updater not being deleted 2019-06-27 14:42:55 +02:00