Commit Graph

10798 Commits

Author SHA1 Message Date
0f657b772b Camera refactoring
1) All camera related OpenGL calls moved into class

2) The Camera class now stores the view matrix, the projection matrix and the viewport

3) The Camera class now exposes methods to get the camera orientation vectors, the camera position, the view matrix, the projection matrix and the viewport

4) All the code operating on the camera or requiring camera data has been modified to use the new methods
2019-04-01 10:00:10 +02:00
c5e93fe2bb Fix of visual hints for rotation of full single instance selection 2019-04-01 09:11:23 +02:00
521a947b3d Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-04-01 08:28:38 +02:00
e2334782e7 fix for statistics 2019-03-29 17:20:19 +01:00
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
10624370e1 imgui: Get font size from wxWidgets, fix #2043 2019-03-29 14:58:32 +01:00
cc66871238 Improved Selection from ObjectList side 2019-03-29 14:36:59 +01:00
156d0c9944 SLA gizmo fix: occasional crashes after deleting objects 2019-03-29 13:38:33 +01:00
ab26a95c65 It seems that stats are not broken after all. 2019-03-29 13:34:22 +01:00
331c6b82c1 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-29 12:58:41 +01:00
0c1316d4bc Volumes selected from the sidebar table taken from the currently selected instance 2019-03-29 10:48:20 +01:00
4bdef8657c Merge branch 'tm_sla_png_minz' 2019-03-28 17:56:50 +01:00
908f870019 Improving Zipper API error handling. 2019-03-28 17:21:19 +01:00
9152ad2a4e Added context menu Item "Change Extruder" on 3D-Scene 2019-03-28 16:32:19 +01:00
270281a601 Some _cosmetic_ fixes :
+ Set wxDEFAULT_DIALOG_STYLE for MsgDialog
+ Changed Msg text before language changing
2019-03-28 16:32:19 +01:00
10d9982ff5 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-28 11:56:35 +01:00
19bfc2e179 Enabled slicing of SLA from the command line. 2019-03-28 11:24:21 +01:00
14fff1a44b Removed dependency on libz on Windows. 2019-03-28 11:20:48 +01:00
be6348ad74 Fix broken arrange 2019-03-28 11:01:41 +01:00
4e27e57750 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-28 09:30:23 +01:00
e2ad83fa92 Small refactoring -> GLGizmosManager gets model from selection and not from canvas 2019-03-28 09:30:01 +01:00
994cb3a5b9 Merge remote-tracking branch 'remotes/origin/tm_sla_png_minz' 2019-03-28 09:14:37 +01:00
fd9fd3ec0c Layers editing initialized only for 3D view and not for g-code preview 2019-03-28 09:12:32 +01:00
5b53dd164d Selection enabled only for 3D view and not for g-code preview 2019-03-28 08:44:46 +01:00
61ea6037fd Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-28 08:24:25 +01:00
0d3f453af0 Output raster seem ok, stats broken. 2019-03-27 18:37:50 +01:00
770b731c2c Fix of SPE-879 and #2021 2019-03-27 17:00:29 +01:00
0cd8f8ff79 Follow-up of 8ea8eb67e4, utf-8 path conversion moved into nanosvg library 2019-03-27 15:42:01 +01:00
77b5600339 Added #define glcheck() for the case HAS_GLSAFE not defined 2019-03-27 15:14:40 +01:00
0cb2196767 Fixed conflicts after merge with master 2019-03-27 14:57:05 +01:00
910605864a Added glsafe() around OpenGL calls where missing 2019-03-27 14:42:09 +01:00
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
3a8640a27a Fix string access in Preferences.cpp 2019-03-27 13:53:00 +01:00
121d9ebd9b Fixing horrendous error in destructor. 2019-03-27 13:22:04 +01:00
bbabfc8cde Fix of #2014 2019-03-27 13:19:27 +01:00
d3ac8f9322 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-27 12:51:59 +01:00
0fb2c4cfd7 Fixed conflicts after merge with master 2019-03-27 12:51:40 +01:00
73c4a0e10d Fix build on MSVC with PCH off 2019-03-27 12:14:34 +01:00
14332f9b46 Fixed loading of SVG textures from utf-8 paths 2019-03-27 12:02:50 +01:00
7b89bb1785 Merge pull request #2005 from SijmenSchoon/fix-assertions
Fix tree-related assertions on startup on Linux
2019-03-27 11:29:32 +01:00
8ebcbc8ef1 Merging new steps integration 2019-03-27 11:05:51 +01:00
6c5fb6430d Integrating new step, removing old and unused steps. 2019-03-27 10:59:29 +01:00
9cd63af034 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-27 10:27:01 +01:00
69614c17f5 Improved glsafe macro to print out file name, line number and function
name on OpenGL assert.
2019-03-27 10:26:55 +01:00
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
0426ff1122 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-27 08:33:48 +01:00
7c20c21255 Reusing unified polygons from statistics 2019-03-26 18:51:27 +01:00
d12f4724f3 Adding new step for statistics 2019-03-26 18:04:04 +01:00
431399daf9 Fix of #2029
+ Some improvements for the language changing
2019-03-26 18:02:26 +01:00
9a7030bd9f Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-26 18:00:23 +01:00