Commit Graph

8938 Commits

Author SHA1 Message Date
Enrico Turri
b5f9b8859d Added missing include 2019-04-01 10:28:04 +02:00
Enrico Turri
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
Enrico Turri
c5e93fe2bb Fix of visual hints for rotation of full single instance selection 2019-04-01 09:11:23 +02:00
Enrico Turri
521a947b3d Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-04-01 08:28:38 +02:00
Vojtech Kral
10624370e1 imgui: Get font size from wxWidgets, fix #2043 2019-03-29 14:58:32 +01:00
Lukas Matena
156d0c9944 SLA gizmo fix: occasional crashes after deleting objects 2019-03-29 13:38:33 +01:00
Enrico Turri
331c6b82c1 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-29 12:58:41 +01:00
Enrico Turri
0c1316d4bc Volumes selected from the sidebar table taken from the currently selected instance 2019-03-29 10:48:20 +01:00
tamasmeszaros
4bdef8657c Merge branch 'tm_sla_png_minz' 2019-03-28 17:56:50 +01:00
tamasmeszaros
908f870019 Improving Zipper API error handling. 2019-03-28 17:21:19 +01:00
YuSanka
9152ad2a4e Added context menu Item "Change Extruder" on 3D-Scene 2019-03-28 16:32:19 +01:00
YuSanka
270281a601 Some _cosmetic_ fixes :
+ Set wxDEFAULT_DIALOG_STYLE for MsgDialog
+ Changed Msg text before language changing
2019-03-28 16:32:19 +01:00
Enrico Turri
10d9982ff5 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-28 11:56:35 +01:00
bubnikv
19bfc2e179 Enabled slicing of SLA from the command line. 2019-03-28 11:24:21 +01:00
bubnikv
14fff1a44b Removed dependency on libz on Windows. 2019-03-28 11:20:48 +01:00
Enrico Turri
4e27e57750 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-28 09:30:23 +01:00
Enrico Turri
e2ad83fa92 Small refactoring -> GLGizmosManager gets model from selection and not from canvas 2019-03-28 09:30:01 +01:00
bubnikv
994cb3a5b9 Merge remote-tracking branch 'remotes/origin/tm_sla_png_minz' 2019-03-28 09:14:37 +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
Enrico Turri
61ea6037fd Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-28 08:24:25 +01:00
YuSanka
770b731c2c Fix of SPE-879 and #2021 2019-03-27 17:00:29 +01:00
Enrico Turri
0cd8f8ff79 Follow-up of 8ea8eb67e4, utf-8 path conversion moved into nanosvg library 2019-03-27 15:42:01 +01:00
Enrico Turri
77b5600339 Added #define glcheck() for the case HAS_GLSAFE not defined 2019-03-27 15:14:40 +01:00
Enrico Turri
0cb2196767 Fixed conflicts after merge with master 2019-03-27 14:57:05 +01:00
Enrico Turri
910605864a Added glsafe() around OpenGL calls where missing 2019-03-27 14:42:09 +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
Vojtech Kral
3a8640a27a Fix string access in Preferences.cpp 2019-03-27 13:53:00 +01:00
tamasmeszaros
121d9ebd9b Fixing horrendous error in destructor. 2019-03-27 13:22:04 +01:00
YuSanka
bbabfc8cde Fix of #2014 2019-03-27 13:19:27 +01:00
Enrico Turri
d3ac8f9322 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-27 12:51:59 +01:00
Enrico Turri
0fb2c4cfd7 Fixed conflicts after merge with master 2019-03-27 12:51:40 +01:00
Vojtech Kral
73c4a0e10d Fix build on MSVC with PCH off 2019-03-27 12:14:34 +01:00
Enrico Turri
14332f9b46 Fixed loading of SVG textures from utf-8 paths 2019-03-27 12:02:50 +01:00
Vojtech Kral
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
bubnikv
9cd63af034 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-27 10:27:01 +01:00
bubnikv
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
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
Enrico Turri
0426ff1122 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-27 08:33:48 +01:00
tamasmeszaros
d12f4724f3 Adding new step for statistics 2019-03-26 18:04:04 +01:00
YuSanka
431399daf9 Fix of #2029
+ Some improvements for the language changing
2019-03-26 18:02:26 +01:00
bubnikv
9a7030bd9f Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-26 18:00:23 +01:00
bubnikv
17acae6587 Visual Studio specific. Fixed a clash in the name of a symbol file
for the slic3r.exe wrapper and slic3r.dll
2019-03-26 18:00:07 +01:00
Vojtech Kral
f527ed0a92 imgui: Fix assert caused by set_language() while new frame is open 2019-03-26 17:57:54 +01:00
tamasmeszaros
a7f2e63271 Merge branch 'tm_slice_index_lyrh' 2019-03-26 17:47:27 +01:00
tamasmeszaros
2e9905c1e8 Add check for missing support points if supports are enabled. 2019-03-26 17:28:51 +01:00
tamasmeszaros
fccf1692d8 Fixing broken statistics. 2019-03-26 16:45:04 +01:00
Vojtech Kral
eef1ac09bb doc: Building on Windows: Add more detail 2019-03-26 16:38:13 +01:00
tamasmeszaros
1bc35159ed Merge branch 'master' into tm_slice_index_lyrh 2019-03-26 16:06:52 +01:00
tamasmeszaros
9a4a0caa01 Reverting manual unification. It does not help performance. 2019-03-26 16:06:24 +01:00