Commit Graph

482 Commits

Author SHA1 Message Date
tamasmeszaros
ab972a0251 Merge branch 'tm_reuse_unified' 2019-04-01 12:24:50 +02:00
bubnikv
a26faa56cf Fix of No preview of position in variable layer editing UI at retina resolution #2050 2019-04-01 11:08:26 +02:00
tamasmeszaros
e4832bad3f Merging with master for having minz png compression.
Much greater performance boost from better compression algorithm than that from the merged polygons.
2019-03-29 15:21:46 +01:00
Enrico Turri
fd9fd3ec0c Layers editing initialized only for 3D view and not for g-code preview 2019-03-28 09:12:32 +01:00
Enrico Turri
5b53dd164d Selection enabled only for 3D view and not for g-code preview 2019-03-28 08:44:46 +01:00
Lukas Matena
846837e02f SLA gizmo now turns off in case someone adds an object/instance (to prevent rendering points in thin air, etc.)
Also, a bug appering when adding an object larger than the bed and scaling it down was fixed (sla gizmo did not work correctly in that case)
2019-03-27 14:19:12 +01:00
tamasmeszaros
6c5fb6430d Integrating new step, removing old and unused steps. 2019-03-27 10:59:29 +01:00
Enrico Turri
00e19f6bd7 Fixed selection lost when Place on Face gizmo is active and user click on another object 2019-03-27 09:06:53 +01:00
tamasmeszaros
fccf1692d8 Fixing broken statistics. 2019-03-26 16:45:04 +01:00
tamasmeszaros
b1a331e43a Merging with master, solving conflicts. 2019-03-26 11:13:28 +01:00
tamasmeszaros
d2c0d2641c Further refactor and simplification of slice index and print data. 2019-03-26 10:57:45 +01:00
bubnikv
4d1f8d0d46 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-26 10:39:08 +01:00
bubnikv
df51a16ffe Improved SLA layer view: Low layer shall be rendered from the slice above,
triangulated slices are shifted slightly away from the clipping planes.

FDM: Ported a "(bridged)" G-code comment from upstream.
2019-03-26 10:38:50 +01:00
tamasmeszaros
811c781852 Refactoring and commenting slice index solution. 2019-03-25 19:02:05 +01:00
Lukas Matena
1429a24af3 Fix of sla gizmo (it sometimes showed supports for hidden objects) 2019-03-24 13:35:09 +01:00
bubnikv
83c1e83181 Fixed the SLA layer preview. 2019-03-22 21:26:58 +01:00
tamasmeszaros
65a1eb7d3f Merge branch 'master' into tm_slice_index 2019-03-22 15:31:58 +01:00
tamasmeszaros
c410216e45 Refactoring changes to the slice index. 2019-03-22 15:31:38 +01:00
Lukas Matena
9c7a063aa5 SLA gizmo fix: adding points to selection by Shift+click should now work again (was broken by 8466c55) 2019-03-22 10:56:51 +01:00
tamasmeszaros
6f54bbb01a Merge branch 'master' into tm_slice_index 2019-03-21 15:17:01 +01:00
tamasmeszaros
3218d37714 FIx for broken slice preview 2019-03-21 15:16:33 +01:00
bubnikv
82499c485a Localization fix of the warning texts in the 3D scene.
Improved anti-aliasing of the warning texts in the 3D scene
and the G-code legend. A ClearType rendering has been suppressed
by rendering of the text into a red channel only.
2019-03-21 14:33:55 +01:00
tamasmeszaros
611976c917 Slic3r compiles with the new slice index interface. 2019-03-21 12:25:33 +01:00
Lukas Matena
4752f6b126 SLA gizmo - points are added on leftdown event, not leftup as before 2019-03-20 14:04:59 +01:00
Lukas Matena
3043c72c73 SLA gizmo now forces objects to use their normal color (not SELECTED_COLOR) 2019-03-20 14:04:20 +01:00
Lukas Matena
7b69755f49 Renamed function mouse_event to gizmo_event 2019-03-20 13:44:34 +01:00
Enrico Turri
e65dbcabb5 Tech ENABLE_CANVAS_GUI_REFACTORING set as default 2019-03-20 09:33:30 +01:00
Enrico Turri
0bc6614cc6 GLCanvas3D::Selection as a standalone class 2019-03-19 13:30:21 +01:00
Enrico Turri
7775244bb9 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-19 10:48:51 +01:00
Enrico Turri
18b636cec1 Fixed visual hints for position in case of single volume selection 2019-03-19 10:09:54 +01:00
Enrico Turri
aaa401837a Tech ENABLE_MOVE_MIN_THRESHOLD set as default 2019-03-19 10:04:19 +01:00
Enrico Turri
1c8e93e480 Code cleanup 2019-03-19 09:21:27 +01:00
Enrico Turri
3f5299f349 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-18 12:07:32 +01:00
Lukas Matena
0f9dbebb33 Removed technology ENABLE_IMGUI 2019-03-18 11:45:15 +01:00
Lukas Matena
4c285950bc Separated gizmos into individual files 2019-03-18 11:45:15 +01:00
Enrico Turri
2231d28cf3 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-18 11:08:02 +01:00
Enrico Turri
372d85b446 Context menu in 3D scene shown on right mouse up event 2019-03-18 10:47:01 +01:00
Enrico Turri
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
Enrico Turri
a881392010 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-15 13:24:58 +01:00
Enrico Turri
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
Lukas Matena
4ac11210f0 Another fix of the gizmo grabber color picking 2019-03-15 11:04:08 +01:00
Enrico Turri
152ae25fd2 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-15 09:15:11 +01:00
Enrico Turri
52291bd0c9 2nd fix for x position of gizmos' imgui dialogs 2019-03-15 09:13:15 +01:00
Enrico Turri
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
Lukas Matena
9a82cb6756 Wipe tower brim lines are now printed with overlaps as they should be 2019-03-13 10:46:50 +01:00
bubnikv
5867c337b6 Merge remote-tracking branch 'remotes/origin/ys_buttons' 2019-03-12 09:01:17 +01:00
Enrico Turri
d9060cf852 Fixed rotation of multiple instances selection 2019-03-08 14:52:32 +01:00
Enrico Turri
eabac9088f Top toolbar icon size set to 40px 2019-03-08 14:35:33 +01:00
Enrico Turri
e1738f3138 Added change removed by mistale in 02163f7f9648b81ad1dc59a4ad6c1a5c55c02a50 2019-03-08 12:04:06 +01:00
Enrico Turri
b9e67be089 Final version of fix to prevent showing old framebuffer when switching between views on Mac 2019-03-08 12:04:01 +01:00