Commit Graph

133 Commits

Author SHA1 Message Date
72f45a82c3 Fixed z layers indices under 3D preview sliders 2018-05-18 10:14:47 +02:00
c29c471ae4 Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene_manipulators 2018-05-15 09:46:57 +02:00
42ff90b67c Removed auto zoom to volumes when changing view 2018-05-15 09:41:58 +02:00
54e55bf36d Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene_manipulators 2018-05-03 16:13:22 +02:00
63c86977e0 Fixed crash when reducing objects from 2D/preview/layers tabs 2018-05-03 16:08:41 +02:00
4261cfc758 Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene_manipulators 2018-05-03 09:11:26 +02:00
f94f1a2da8 Initial zoom set to bed extent 2018-05-03 09:10:12 +02:00
e6a6cd7e77 Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene_manipulators 2018-05-02 14:45:42 +02:00
e2e4310322 Removed unneeded scene reloads when selecting objects 2018-05-02 13:55:04 +02:00
a208639ce7 Fixed initial view on Linux Ubuntu 2018-04-30 08:57:41 +02:00
b67064ef81 Keyboard capture by 3D view on Linux 2018-04-27 14:08:22 +02:00
a4df0bdcc3 Fixed division by zero in get_zoom_to_bounding_box_factor on Linux 2018-04-26 12:14:49 +02:00
fd16357b6e Increase z buffer range to avoid clipping while panning/rotating the 3D view 2018-04-26 11:03:15 +02:00
e93391e0f8 Fixed get_zoom_to_bounding_box_factor on linux 2018-04-25 13:55:45 +02:00
71d9500b2e More robust fix for 3D view and GUI buttons not in synch when object's size is almost identical to print volume's size 2018-04-24 09:00:33 +02:00
f8b1dc5506 Tweaks to zooming logic 2018-04-23 08:44:24 +02:00
ad4cd05850 Fixed hovering while panning/rotating camera 2018-04-19 13:31:50 +02:00
c9e4c831c2 Axes with fixed size in 3D previews 2018-04-18 10:17:22 +02:00
2ef164eeef Fixed cut contours in cut dialog 3D view 2018-04-18 09:44:49 +02:00
61ee633cd2 Fixed color specular component in shaders 2018-04-17 16:16:25 +02:00
acd8d2df98 Fixed layer height profile editing for multipart objects 2018-04-13 09:01:48 +02:00
a3fc49ee76 Fixed hovering not shown on out of print bed objects 2018-04-12 13:54:26 +02:00
76beaa6421 Objects colored by extruder color 2018-04-05 12:52:29 +02:00
00324a14b8 Merge remote-tracking branch 'origin/scene_manipulators' 2018-04-04 11:06:45 +02:00
c6623bb258 Increased camera theta max to 180 degrees. Fixes #666 2018-03-23 15:40:26 +01:00
f99aaa1191 Out of bed detection - New colors for out of bed state 2018-03-20 13:01:50 +01:00
6298a28494 Disabled back face culling to show broken geometry 2018-03-20 11:59:33 +01:00
ab654f6319 Merge branch 'scene_manipulators' 2018-03-14 16:15:26 +01:00
523b297738 Out of bed detection - Volume colors changed while dragging them 2018-03-13 14:37:59 +01:00
d91e35f820 Shaders tweaking 2018-03-13 14:21:41 +01:00
79dc862498 Out of bed detection - Shaders refactoring 2018-03-12 09:23:59 +01:00
7a2df9f54f Out of bed detection - Volumes' layer texture rendering moved to cpp 2018-03-09 14:33:44 +01:00
bdd2d725c8 Out of bed detection - 1st installment 2018-03-09 10:40:42 +01:00
c52f51b1e4 Fixed bug with resizing 3DScene 2018-03-06 14:45:03 +01:00
8fb443522b Merge remote-tracking branch 'remotes/origin/gcode_preview' 2018-02-23 14:33:16 +01:00
acce8dbff6 A workaround of the dreaded Intel HD Graphics driver issue at least
on the laptop of @roesel.
fixes https://github.com/prusa3d/Slic3r/issues/672

The Intel HD Graphics hangs on the glFinish() call for some reason
with one particular graphics driver revision. Also the glFinish() call
was superfluous and it only may have had negative effect over the performance.

Both glFinish() and glFlush() were removed for performance reasons
where they were not needed, see
https://www.khronos.org/opengl/wiki/Common_Mistakes
2018-02-22 18:56:37 +01:00
81eff20ad1 GCode Preview - Added Custom extrusion role + extended layers range for GCode preview 2018-02-22 08:59:47 +01:00
7375f6a6f5 Fixed camera shifting after generating gcode 2018-02-19 11:28:56 +01:00
f9cdda7bfd Delayed loading of the opengl texture for the G-code preview legend,
as the opengl context may not be ready on some platforms (Linux)
at the time the window gets its focus for the first time.

Changed the G-code preview invalidation to trigger when the print
gets invalidated. At that time the 3D path preview switches to the old
preview, if there is anything valid left.
2018-02-15 14:37:53 +01:00
b1f5e7e8fa Removed the GCodePreviewData from the Print class, it does not belong here,
as the GCode is generated outside of the Print class.
Exported the GCodePreviewData as GCode::PreviewData to Perl.
When exporting the G-code with a command line Slic3r,
the GCodeAnalyzer is now supressed for performance reasons.
Removed obsolete Perl module Slic3r::GUI::Plater::3DToolpaths.
2018-02-14 20:35:59 +01:00
0d6a013658 GCode Preview - Coloring by tool 2018-02-07 09:07:37 +01:00
6ff9021e04 GCode Preview - Legend texture shown only when gcode is available 2018-02-06 12:43:25 +01:00
a417cf955d GCode Preview - Code cleanup 2018-01-17 10:39:05 +01:00
c63e6b74fa GCode Preview - Added legend texture 2018-01-16 14:59:06 +01:00
0f4bec8af0 gcode preview - first installment - wip 2018-01-08 13:44:10 +01:00
673e98bc83 When the legacy OpenGL 1.2 is enforced, suppress anti aliasing as well.
Let's hope it will be a valid workaround for the reoccuring
buggy Intel HD Graphics driver issue.
2017-12-12 20:47:36 +01:00
743fc9dbd0 Workaround for buggy Intel HD Graphics OpenGL drivers:
Fall back to OpenGL 1.1 by a "use_legacy_opengl" preferences switch.
https://github.com/prusa3d/Slic3r/issues/233
https://github.com/prusa3d/Slic3r/issues/268
https://github.com/prusa3d/Slic3r/issues/619
2017-12-11 18:00:51 +01:00
ee645007f2 Another step towards C++ presets. 2017-10-25 12:53:31 +02:00
6d4ec5c989 Further fix of https://github.com/alexrj/Slic3r/issues/4085
making it safe in case wxWidgets do not report supporting multisampling,
but the OpenGL context actually does and it leaves the multi-sampling enabled.
This then may in theory lead to incorrect picking by color.
2017-09-12 10:14:24 +02:00
888a904c9b Workaround of
"GL_MULTISAMPLE and GL_ARRAY_BUFFER_ARB messages on failed launch"
https://github.com/alexrj/Slic3r/issues/4085

Also fixes
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=872273
2017-09-12 10:03:10 +02:00