10196 Commits

Author SHA1 Message Date
enricoturri1966
bea50dce7c Fixed rendering of printbed while the camera is below it 2022-04-11 08:38:09 +02:00
Vojtech Bubnik
aef0c5a83c Follow-up to 68b66729079bcf91ef44701c939f858f7ae9fe29
Fixed detection of config data at the end of gcode files
G-code as config file was not imported correctly because end of windows
stile end of lines (CRLF) were not processed correctly.
See the file at #8172
2022-04-08 14:28:12 +02:00
enricoturri1966
68b6672907 Fixed detection of config data at the end of gcode files 2022-04-08 09:41:26 +02:00
Vojtech Bubnik
6a67a6e21b Fix of #8170: Seemingly the OSX finder calls the "open files" callback
on PrusaSlicer too early now on some newest platforms, where the
application is not yet fully initialized. This fix postpones loading of
files in that case.
2022-04-07 15:52:33 +02:00
enricoturri1966
a4435d214f Shader mm_contour - Customizable offset to calculate the correction to avoid z-fighting (MESA driver needs bigger one) 2022-04-07 12:59:11 +02:00
enricoturri1966
0995cfc658 Shader mm_contour - Correction to avoid z-fighting moved from fragment shader to vertex shader 2022-04-07 10:40:33 +02:00
enricoturri1966
b265e91df2 Fixed rendering of GLGizmoPainterBase sphere cursor when tech ENABLE_LEGACY_OPENGL_REMOVAL is disabled 2022-04-07 08:50:20 +02:00
enricoturri1966
5e0590a93e Removed assignment to gl_FragDepth into gouraud.fs shader. Replaced with small offset of triangles along their normal. 2022-04-07 08:22:33 +02:00
enricoturri1966
2de1b863bb Fixed build when tech ENABLE_GL_SHADERS_ATTRIBUTES is disabled 2022-04-07 08:18:06 +02:00
Filip Sykala
5004897c2d Merge branch 'master' into dev 2022-04-06 12:42:00 +02:00
enricoturri1966
6b6fb9f692 Tech ENABLE_LEGACY_OPENGL_REMOVAL - Removed redundand #if/#endif into GLModel.cpp 2022-04-05 10:04:36 +02:00
tamasmeszaros
43bd71c49a Add comment to previous change 2022-04-04 15:52:03 +02:00
tamasmeszaros
97652f3e71 Avoid error on osx for tbb parallel for 2022-04-04 15:44:59 +02:00
tamasmeszaros
1070d71da6 Use upstream Qhull, remove duplication in deps and src
REALfloat is not defined to 0 on all platforms.
2022-04-04 12:43:25 +02:00
tamasmeszaros
41397f90a4 Use upstream GLEW, remove duplication in deps and src
Also update glew to 2.2 where NOGDI is properly unset before windows.h is included. This was a patch in our copy of GLEW 1.13
2022-04-04 12:43:25 +02:00
tamasmeszaros
e50a408e2e Use upstream expat, remove duplication in deps and src
Fix clash of builtin findEXPAT with config scripts
2022-04-04 12:43:25 +02:00
enricoturri1966
0967974479 Fixed GLModel::reserve_indices() 2022-04-04 12:23:01 +02:00
YuSanka
8a8d2d15b0 Fix for #8156 - Automatic color change for logo crashes PrusaSlicer with second object of 0.2mm height 2022-04-04 11:42:10 +02:00
Lukas Matena
6a5443dad2 Yet another fixup of previous commit 2022-04-01 11:30:03 +02:00
Lukas Matena
037a866f22 Fixup of previous commit:
the previous fix only works for objects that have equal height
2022-04-01 09:54:49 +02:00
YuSanka
05e94eb0ab Fixed hard crash on "Convert from/to units" when several objects are selected
This crash was caused by commit https://github.com/prusa3d/PrusaSlicer/commit/38b877635
2022-04-01 09:48:38 +02:00
enricoturri1966
5307114969 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2022-04-01 08:35:19 +02:00
enricoturri1966
a821668dc7 Fixed comparison operators of ColorRGB and ColorRGBA 2022-04-01 08:35:10 +02:00
enricoturri1966
9b5d17dfbd Follow-up of e01d32d01afec11dd1b149fc983a15f2875a36d4 - Fixed typo 2022-04-01 08:28:58 +02:00
Lukas Matena
aa2a8178f8 Fixed some compiler warnings 2022-03-31 16:42:15 +02:00
Lukas Matena
e01d32d01a Fixed several std::moves that had no effect, moved GCode data to heap 2022-03-31 16:42:15 +02:00
Lukas Matena
96a6c8538f Some refactoring and fixes based on static source code analysis 2022-03-31 16:33:52 +02:00
YuSanka
807f380d3f Fix for #8091 - Design bug: Yes/No response to save dialogue 2022-03-31 14:34:53 +02:00
enricoturri1966
0763a48ce5 Tech ENABLE_GL_SHADERS_ATTRIBUTES - Fixed OpenGL clipping planes while rendering picking pass 2022-03-31 13:23:04 +02:00
Lukas Matena
2ecfdea070 Fix of #7711, #7903, #8044 (wipe tower refusing to slice when layer height modifier is used):
Same settings of the layer height modifier does not guarantee to always produce profiles
exactly equal numerically. This is broken since 71ba15b.
2022-03-31 10:47:19 +02:00
Lukas Matena
8004e19879 Fix of #8126: crash on startup with wx3.0:
this appeared after 1f362af. The wxEXEC_SYNC is the default, but not using
wxEXEC_NOEVENTS caused a crash in wxWidgets3.0 (see #8126)
2022-03-30 15:28:44 +02:00
Lukas Matena
3934b1dbed Remove repeated spaces from the wipe tower gcode (#7503) 2022-03-30 09:25:36 +02:00
Lukas Matena
684733af52 Enforce first layer on experimental wipe tower (#7090) 2022-03-30 09:25:31 +02:00
enricoturri1966
55aef05fbf Fix into GCodeViewer::refresh_render_paths() 2022-03-29 13:18:04 +02:00
Vojtech Bubnik
60d7564942 FFF background slicing for a single object only:
Generalized the "enabled milestone" from SLA
to both SLA and FFF.
Merged the "milestone enabled" flag into the milestone status.
Fixed some potential threading issues in SLAPrint::finalize()
when resetting the "milestone enabled" flags.
2022-03-29 11:19:50 +02:00
enricoturri1966
26d1b2a5cd Small refactorings related to GLCanvas3D::_mouse_to_3d() 2022-03-29 11:11:03 +02:00
enricoturri1966
888f45c0d3 Tech ENABLE_PROCESS_G2_G3_LINES - Fixed update of horizontal slider in gcode preview 2022-03-25 14:03:44 +01:00
David Kocik
9ece7c0ad4 Rendering of regular text after hypertext in regular notifications.
(Using code from Hint notification)
2022-03-24 12:37:55 +01:00
David Kocik
8202862809 object info notifiction not show on copy obj 2022-03-24 12:37:55 +01:00
Lukáš Hejl
7d2e89286f Added a possibility into thick_polyline_to_extrusion_paths() to separately set tolerance for merging two following lines based on a difference between lines width. 2022-03-24 11:31:03 +01:00
enricoturri1966
94b98e349b Tech ENABLE_NEW_RECTANGLE_SELECTION - Fixed SHIFT + left mouse selection/deselection 2022-03-24 10:10:17 +01:00
enricoturri1966
9b34389f00 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2022-03-24 09:51:51 +01:00
enricoturri1966
11f0dc4589 Tech ENABLE_NEW_CAMERA_MOVEMENTS - Reverted middle mouse dragging to pan the view 2022-03-24 09:51:42 +01:00
Lukáš Hejl
eae3932550 Added missing includes (GCC11.1 without PCH). 2022-03-24 09:33:26 +01:00
enricoturri1966
b0b65a1f89 SPE-1208 - Fix for 3mf from another SW is loaded as a project and not as geometry 2022-03-23 17:20:54 +01:00
enricoturri1966
f970741dd4 Do not show ProjectDropDialog when drag and dropping a 3mf file produced by other softwares and the plater is not empty 2022-03-23 17:20:50 +01:00
enricoturri1966
fab6619641 #8032 - GCodeProcessor - Fixed parsing of LAYER_CHANGE tag for spiral vase mode 2022-03-23 17:17:23 +01:00
Lukas Matena
dc14ae07a6 Fixed incorrect handling of 3rd party 3MFs in SLA mode (#6100 and others) 2022-03-23 17:16:17 +01:00
Lukas Matena
92a40d32ff Fix of #8078: double free on wxProgressDialog on Linux 2022-03-23 17:12:42 +01:00
enricoturri1966
24bcbd9c0c Optimization in GLCanvas3D::_render_camera_target() 2022-03-23 15:18:24 +01:00