Commit Graph

19400 Commits

Author SHA1 Message Date
Lukáš Hejl
25b2ff5fb8 Tried to disable EGL. 2022-07-29 11:21:54 +02:00
tamasmeszaros
3f32bb1a52 Update to GLEW 2.2 to prevent initialization crash with wx >= 3.1.6
Revert "Revert to GLEW 2.1 as most Linux distros as using that"

This reverts commit 46c8f82f24.
2022-07-29 11:21:54 +02:00
YuSanka
f8477d1be6 Using of wxWidgets 3.1.6 WIP: Linux/OSX specific fixes
OSX specific: Fixed get_mouse_position_in_control().
+ Use GetItemRect() to calculation of the position and size for Extruder selector

Linux specific:
* Use just 1.0 scale for wxBitmapComboboxes under GTK3 and gtk3
* GTK2 specific: use GTK2 doesn't suppost get_scale, so scale bitmap size form em_unit()
2022-07-29 11:21:54 +02:00
YuSanka
066b567714 Using of wxWidgets 3.1.6 WIP:
* Create Cache of wxBitmapBundles instead of wxBitmaps
* Use wxBitmapBundles instead of wxBitmap for most of Widgets
* Use empty bitmabundles instead of wxNullBitmap for wxBitmapComboBoxes.
* Updated wxWidgets.cmake
* OSX specific: Discard BitmapComboBox overrides
+ some code cleaning
2022-07-29 11:21:54 +02:00
YuSanka
e21921f2eb Fixes to support wxWidgets 3.1.6(7), 3.2.0
+Updated URL and URL HASH for wxWidgets v3.2.0-patched
2022-07-29 11:21:54 +02:00
tamasmeszaros
9a7e024f78 Update wxWidgets to 3.1.7
added handling for nanosvg with cmake
2022-07-29 11:21:54 +02:00
tamasmeszaros
a8b10525e4 libnest2d: remove unused code and fix some warnings 2022-07-29 11:17:25 +02:00
enricoturri1966
0388132acd Tech ENABLE_SHOW_NON_MANIFOLD_EDGES set as default 2022-07-28 08:55:53 +02:00
enricoturri1966
0063734e78 Tech ENABLE_COPY_CUSTOM_BED_MODEL_AND_TEXTURE set as default 2022-07-28 08:33:46 +02:00
enricoturri1966
5cf71bb094 Tech ENABLE_SHOW_TOOLPATHS_COG set as default 2022-07-27 15:52:40 +02:00
enricoturri1966
253b24e298 When pressing ESC key to clear the current selection do not repeatedly update the view if the user keeps the key pressed. 2022-07-27 15:35:35 +02:00
enricoturri1966
828dd5ddf8 Fixed toolpaths generation for gcode line G2 and G3 2022-07-27 15:16:20 +02:00
enricoturri1966
7fbaa3e8fd GCodeViewer - Added processing of gcode files produced by BambuStudio 2022-07-27 13:10:45 +02:00
enricoturri1966
b8a1ead9f3 Fix incorrect clamping of bounding box in GLCanvas3D::_max_bounding_box() 2022-07-27 10:57:52 +02:00
David Kocik
7831b4bd07 Notifications: hovering eject button will show tooltip even with idle mouse 2022-07-26 14:28:56 +02:00
enricoturri1966
4865ca65e8 Fixes in tech ENABLE_SMOOTH_NORMALS 2022-07-26 11:19:50 +02:00
tamasmeszaros
0681f92130 Fix segfault caused by unchecked mesh precondition
CGALProc::does_bound_a_volume(mesh) can throw if CGAL::is_closed(mesh) is not met

affects #8521
2022-07-25 14:07:01 +02:00
enricoturri1966
f0c1f9ebbd Follow-up of 6664ba3b80 - Fixed part positions after reload from disk called after loading multipart 3mf project 2022-07-25 08:54:24 +02:00
Michael Kirsch
6664ba3b80 fix reload loosing positioning information 2022-07-25 08:21:50 +02:00
Michael Kirsch
a1e37803f7 fix frustum for off-bed origins 2022-07-25 08:21:22 +02:00
André Althaus
559173c2a1 Don't change to color print view when no color change gcodes are set
When changing custom gcodes the view type is always changed to color view
when any custom gcode is set. This fix only changes to color view
when the custom gcodes contain at least one color change.

Fixes #8413 and #5837
2022-07-25 08:21:04 +02:00
enricoturri1966
8fbc0b8633 SPE-1259 - Fix for sinking objects not placed on top of bed after rotation with Place on face Gizmo 2022-07-21 14:16:09 +02:00
enricoturri1966
5922966eb0 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_raycast_picking_rebase 2022-07-21 10:56:38 +02:00
enricoturri1966
ca34518bcc Fixed conflicts after merge with master 2022-07-21 08:55:52 +02:00
enricoturri1966
a3aab02f56 Fixed warning 2022-07-21 08:47:29 +02:00
enricoturri1966
520261925f Fixed conflicts after merge with master 2022-07-21 08:14:44 +02:00
enricoturri1966
42dbaf92bf SPE-1251 - Fixed crash in Gizmo Rotate when rotating an object when the camera is using orthographic projection 2022-07-20 13:45:21 +02:00
enricoturri1966
91b3c3dd1d Tech ENABLE_GL_CORE_PROFILE - Added call to method PlatformDefaults() to the wxGLContextAttrs used to generate wxWidgets OpenGL context 2022-07-20 11:46:05 +02:00
enricoturri1966
4353c626fc Revert of 324594db5e 2022-07-20 09:45:32 +02:00
enricoturri1966
324594db5e Added some errors to test new command line option '--opengl-debug' 2022-07-20 08:55:39 +02:00
enricoturri1966
90c49f4c1a Added filtering of key auto repeat for SHIFT and CTRL keys in GLCanvas3D 2022-07-20 08:15:38 +02:00
enricoturri1966
de635f9088 Fixed GLGizmoBase::render_input_window() to properly require for an extra frame the first time an imgui window is shown 2022-07-19 12:57:26 +02:00
enricoturri1966
6e6ab640f4 Fixed missing update of object position when dragging it on the plate while Place on Face gizmo is open 2022-07-19 12:13:07 +02:00
enricoturri1966
92cf1d6e0c Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2022-07-19 10:04:07 +02:00
enricoturri1966
0d5de5fdf2 Tech ENABLE_WORLD_COORDINATE - Removed unneeded parameter from GLGizmoRotate::mouse_position_in_local_plane() declaration 2022-07-19 10:03:46 +02:00
enricoturri1966
8db552ce26 Tech ENABLE_GL_CORE_PROFILE - Command line option '--opengl-core=M.m' renamed as '--opengl-version=M.m'
use case 1 - the option is not added to the command line - PrusaSlicer defaults to the highest available core profile OpenGL version

use case 2 - the option specify an OpenGL version which supports core profile - PrusaSlicer select the required OpenGL version, if available

use case 3 - the option specify an OpenGL version which does not support core profile - PrusaSlicer defaults to the highest available compatibility profile OpenGL version

use case 4 - the option contains invalid OpenGL version - PrusaSlicer defaults to the highest available core profile OpenGL version
2022-07-18 15:33:24 +02:00
David Kocik
24fe505f00 Merge branch 'dk_resolve_search' 2022-07-17 19:24:51 +02:00
David Kocik
5c7cb3b55a Delete unused variable 2022-07-17 19:24:29 +02:00
David Kocik
faa4207b1c OSX build fix 2022-07-17 18:40:07 +02:00
David Kocik
cd30e8f2e7 get_host_from_url function 2022-07-17 18:40:07 +02:00
David Kocik
9ee6839017 Resize IP list dialog. 2022-07-17 18:40:07 +02:00
David Kocik
a2330e77c2 Filter lookup replies by service name 2022-07-17 18:40:07 +02:00
David Kocik
8481de43cc Improved error message if both ipv4 and ipv6 upload fails. 2022-07-17 18:40:07 +02:00
David Kocik
d9058b2a92 Cancel upload priority before error showing. 2022-07-17 18:40:07 +02:00
David Kocik
89e288dcf8 Propagate resolved ip address to the UI layer (both upload dialog and notification) 2022-07-17 18:40:07 +02:00
David Kocik
bc167ce90b Decision tree for different types and numbers of resolved IPs. 2022-07-17 18:40:07 +02:00
David Kocik
9fd3108726 Resolved IP dialog before uploading - needs better design and to not show if only 1x v4 and v6 is resolved. 2022-07-17 18:40:07 +02:00
David Kocik
36f473c984 Bonjour lookup function in same style as resolve function.
Includes refactoring of resolve function. 
refactor
2022-07-17 18:40:07 +02:00
David Kocik
457a5d4a65 system ifdefs 2022-07-17 18:40:07 +02:00
David Kocik
d2c6f597d2 Bonjour - resolve hostname to IP using mdns.
Octoprint - on Windows use Bonjour resolving to get IP address before the http connection. Only use Windows address resolving if Bonjour couldn't resolve.
2022-07-17 18:40:07 +02:00