Commit Graph

455 Commits

Author SHA1 Message Date
0bc6614cc6 GLCanvas3D::Selection as a standalone class 2019-03-19 13:30:21 +01:00
7775244bb9 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-19 10:48:51 +01:00
18b636cec1 Fixed visual hints for position in case of single volume selection 2019-03-19 10:09:54 +01:00
aaa401837a Tech ENABLE_MOVE_MIN_THRESHOLD set as default 2019-03-19 10:04:19 +01:00
1c8e93e480 Code cleanup 2019-03-19 09:21:27 +01:00
3f5299f349 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-18 12:07:32 +01:00
0f9dbebb33 Removed technology ENABLE_IMGUI 2019-03-18 11:45:15 +01:00
4c285950bc Separated gizmos into individual files 2019-03-18 11:45:15 +01:00
2231d28cf3 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-18 11:08:02 +01:00
372d85b446 Context menu in 3D scene shown on right mouse up event 2019-03-18 10:47:01 +01:00
9649ab7526 Fixed assert in imgui when starting Slic3r for the 1st time (no config data saved on disk) 2019-03-18 10:10:11 +01:00
a881392010 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-15 13:24:58 +01:00
d21185f93b Follow-up to previous commits on gizmo grabbers picking (use of centralized static constant for ids and added comments) 2019-03-15 12:07:25 +01:00
4ac11210f0 Another fix of the gizmo grabber color picking 2019-03-15 11:04:08 +01:00
152ae25fd2 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-15 09:15:11 +01:00
52291bd0c9 2nd fix for x position of gizmos' imgui dialogs 2019-03-15 09:13:15 +01:00
8841d4260e Toolbar refactoring
1) toolbar items define 3 callback functions for setting the visibility, setting the enabling state and defining their action which are set while adding a new item to the toolbar

2) the toolbar takes care to update all its items visibility and enabled states through a new update method to be called by the parent idle event handler

3) the toolbar handles mouse events by calling its on_mouse method
2019-03-14 13:54:05 +01:00
9a82cb6756 Wipe tower brim lines are now printed with overlaps as they should be 2019-03-13 10:46:50 +01:00
5867c337b6 Merge remote-tracking branch 'remotes/origin/ys_buttons' 2019-03-12 09:01:17 +01:00
d9060cf852 Fixed rotation of multiple instances selection 2019-03-08 14:52:32 +01:00
eabac9088f Top toolbar icon size set to 40px 2019-03-08 14:35:33 +01:00
e1738f3138 Added change removed by mistale in 02163f7f9648b81ad1dc59a4ad6c1a5c55c02a50 2019-03-08 12:04:06 +01:00
b9e67be089 Final version of fix to prevent showing old framebuffer when switching between views on Mac 2019-03-08 12:04:01 +01:00
20699ad660 2nd attempt to prevent showing old framebuffer when switching between views on Mac 2019-03-08 12:03:49 +01:00
f760dfed36 Refactoring - Shared members of GLCanvas3D as references instead of pointers 2019-03-08 12:03:37 +01:00
444002e156 Code cleanup 2019-03-08 12:03:31 +01:00
0b1079cc02 Fixed build on Mac 2019-03-08 12:03:25 +01:00
55342be4a1 Use unique camera shared by 3d view and preview (experimental) 2019-03-08 12:03:17 +01:00
8e68f30274 Fixed GLCanvas3D::Selection::is_single_full_instance() 2019-03-08 10:36:12 +01:00
bd67952bd6 Prevented instance move event when SLA gizmo is active so right panel is not needlessly updated 2019-03-08 09:26:42 +01:00
d98f4accbe Fixed assert after try to add Part to Object with several Instances from the ObjectList.
+ Fixed selection on the 3DScene before a context menu showing
2019-03-07 10:08:21 +01:00
70eb2a3d83 Fixed rotation of multiple volumes selection 2019-03-06 15:22:17 +01:00
eed3d11785 Force canvas resize when switching between views 2019-03-06 13:37:20 +01:00
fd267783d9 Allow dragging of objects also along world Z axis in side views 2019-03-06 12:09:20 +01:00
80287d2eec Fixed gizmos' imgui dialog x position 2019-03-06 10:47:48 +01:00
7ec155123e Disabled object context menu when the SLA gizmo is active 2019-03-06 10:10:10 +01:00
b859488cf7 Added background to legend texture 2019-03-05 13:57:41 +01:00
7585fd2499 Fixed conflicts after merge with master 2019-03-05 08:27:21 +01:00
2df8a902b8 Prevented the sla gizmo dialog to overlap the bottom toolbar 2019-03-04 14:52:08 +01:00
5b91a4fd97 Added svg icons for view toolbar and gismos 2019-03-04 14:21:52 +01:00
8dd62c85c2 Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons 2019-03-04 13:47:34 +01:00
d14aa2174f Allow to drag object's subparts once selected using the sidebar table 2019-03-04 11:00:52 +01:00
d3350fe0ce Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons 2019-03-04 08:33:52 +01:00
1e71747e24 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-01 15:36:01 +01:00
7e9c73fbda Fix of instance rotations from the side panel
in regard to instance synchronization.
2019-03-01 15:35:48 +01:00
b6797e4c33 Prevent camera rotation when clicking and dragging on toolbars 2019-03-01 12:23:33 +01:00
ea32ab6cd9 Merge remote-tracking branch 'origin/master' into ys_buttons 2019-03-01 12:13:33 +01:00
d5efdecb6c Implemented another behavior of the "Slice Now" / "Export/Send G-code" buttons (SPE-831) 2019-03-01 11:00:34 +01:00
658443ae66 Allow selection of subparts only from sidebar table 2019-03-01 10:40:10 +01:00
c6a6f3caf9 Fixed rotation of single instance -> it works now with absolute values.
Added Absolute / relative, World / Local, Rigid body / independent
modifier parameter to the object / group rotation.
2019-03-01 10:20:12 +01:00