Commit Graph

8562 Commits

Author SHA1 Message Date
Vojtech Bubnik
79dd2d8f35 Fix of prusa 2.3.0 crash with 0.25 nozzle #5825
Importing a config bundle as a config file was broken for
multi material FDM printers, where a different filament was active
for each extruder.
2021-01-19 09:58:14 +01:00
YuSanka
3782412a99 Fix of #5619 - Copying Item with Printable Property 2021-01-18 15:19:02 +01:00
enricoturri1966
050f72ca14 ENABLE_SPLITTED_VERTEX_BUFFER - slightly faster indices buffers generation in GCodeViewer::load_toolpaths() 2021-01-18 13:55:45 +01:00
enricoturri1966
cc95fc4936 ENABLE_SPLITTED_VERTEX_BUFFER - small refactoring in GCodeViewer::load_toolpaths() 2021-01-18 11:37:23 +01:00
enricoturri1966
f838314075 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_splitted_vbuffer 2021-01-18 09:59:26 +01:00
enricoturri1966
568389edcd ENABLE_SPLITTED_VERTEX_BUFFER - fixed cracks in toolpaths when splitting vertex and index buffers 2021-01-18 09:59:05 +01:00
Vojtech Bubnik
e4bfe8093a Fix of [prusa3d/PrusaSlicer] Remove unnecessary null pointer checks (#5813)
Don't use
if (ptr)
	delete ptr;
call
delete ptr;
directly, it contains the test for null ptr.
2021-01-18 09:33:19 +01:00
Vojtech Bubnik
de7b15c3b0 Slight improvement in Hilbert infill by using constexpr 2021-01-15 09:34:50 +01:00
Vojtech Bubnik
b1cb2628fc Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2021-01-14 12:51:38 +01:00
Vojtech Bubnik
87b247ea20 Fix of --scale-to-fit not accepting any input as valid (#5772)
Fixed parsing of Point3, fortunately Point3 was used at just a single
command line parameter, thus this was not a big deal.
2021-01-14 12:51:28 +01:00
enricoturri1966
2d428bd81a Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_splitted_vbuffer 2021-01-14 11:38:22 +01:00
enricoturri1966
713410db21 ENABLE_SPLITTED_VERTEX_BUFFER - fixed bugs in export of toolpaths to obj files and in index buffer splitting 2021-01-14 11:38:03 +01:00
YuSanka
6402cd7efc Merge remote-tracking branch 'origin/master' into dev 2021-01-13 14:18:55 +01:00
enricoturri1966
d6be5d5d0f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_splitted_vbuffer 2021-01-13 10:46:11 +01:00
enricoturri1966
508d0bcdc7 ENABLE_SPLITTED_VERTEX_BUFFER - fixed export of toolpaths to obj files 2021-01-13 10:45:52 +01:00
Vojtech Bubnik
48ac3c9ded Fix of Invoking prusa-slicer from $PATH environment variable crashes #5542
Also it likely fixes Crashes when started from symbolic link #5751
2021-01-13 09:22:13 +01:00
YuSanka
aee7484a0c Fix of #5163 and #5505 - Vertical cutting of the preset comboboxes on a sidebar 2021-01-12 14:54:58 +01:00
enricoturri1966
13a6f0bc90 Code cleanup 2021-01-12 14:34:52 +01:00
enricoturri1966
bdf0ccdc5f ENABLE_SPLITTED_VERTEX_BUFFER - fixed visualization of last segment for paths whose vertex buffer has been splitted 2021-01-12 14:03:58 +01:00
enricoturri1966
4835ac1410 1st installment of tech ENABLE_SPLITTED_VERTEX_BUFFER - split vertex buffer when greater than a fixed max size 2021-01-12 09:03:35 +01:00
Sebastian Hammerl
8994be741c Added conversion to c_str 2021-01-12 08:54:39 +01:00
enricoturri1966
dccb06c959 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_splitted_vbuffer 2021-01-12 08:10:17 +01:00
Vojtech Bubnik
6bdbe0ffb4 Replaced __linux macro with __linux__ 2021-01-11 13:31:30 +01:00
YuSanka
42779c6fac Fix of #5720 - SL1 Printer Settings->Notes is not updated when switching tab 2021-01-11 13:11:35 +01:00
Vojtech Bubnik
6a08ba1dc7 Fix of a crash when slicing an object producing no layers and
elphant foot compensation is enabled.
2021-01-11 12:20:50 +01:00
Vojtech Bubnik
1f1cfe4339 Finally fixing the single instance for AppImage 2021-01-11 11:41:22 +01:00
Vojtech Bubnik
5e90db3454 Fix of previous commit 2021-01-11 11:29:27 +01:00
Vojtech Bubnik
b25e914703 Fixed "Single instance" locking issue on Linux with AppImage,
where the PrusaSlicer binary is mounted at a different mount point
at each AppImage execution.
Fixes Lock files in the local configuration directory are not deleted (#5733)
2021-01-11 11:14:59 +01:00
Raphael Sobik
a5657dc8d8 Use correct M204 command for acceleration
M204 S is not supported for RepRapFrimware (https://duet3d.dozuki.com/Wiki/Gcode#Section_M204_Set_printing_and_travel_accelerations).
2021-01-11 10:50:18 +01:00
Boleslaw Ciesielski
442513114b Fixed build regression in commit a5882a1a1c on some Linux platforms. We need to link with GTK libs after all. 2021-01-10 22:39:59 -08:00
Mathias Rasmussen
4553725b53 remove "Some text" 2021-01-09 14:31:21 +01:00
tamasmeszaros
db820aa8f5 Increase tolerance for objects being outside print bed. 2021-01-08 10:14:24 +01:00
enricoturri1966
7a53e1a263 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_splitted_vbuffer 2021-01-08 08:48:10 +01:00
enricoturri1966
8c608ebf5e Removed obsolete method declaration in GLCanvas3D 2021-01-08 08:47:33 +01:00
enricoturri1966
a991c135e2 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_splitted_vbuffer 2021-01-08 08:18:27 +01:00
Vojtech Bubnik
2c50767009 On OSX, we use boost::process::spawn() to launch new instances of PrusaSlicer from another PrusaSlicer.
boost::process::spawn() sets SIGCHLD to SIGIGN for the child process, thus if a child PrusaSlicer spawns another
subprocess and the subrocess dies, the child PrusaSlicer will not receive information on end of subprocess
(posix waitpid() call will always fail).
https://jmmv.dev/2008/10/boostprocess-and-sigchld.html
The child instance of PrusaSlicer has to reset SIGCHLD to its default, so that posix waitpid() and similar continue to work.
Fixes #5507
2021-01-07 19:14:48 +01:00
Vojtech Bubnik
b31f22e401 boost::process::spawn() sets SIGINT to SIGIGN, which collides with boost::process waiting for a child to finish!
https://jmmv.dev/2008/10/boostprocess-and-sigchld.html
Thus reset the SIGINT to its default, so that posix waitpid() and similar continue to work.
Fixes Crash on Eject in Second Instance on macOS #5507
2021-01-07 17:38:56 +01:00
Vojtech Bubnik
fc86ae66bd Fix of Ejecting of device has failed on Ubuntu Linux #3975
Eject failed due to superfluous escaping of spaces in path to the SD card
mount point.
2021-01-07 14:17:09 +01:00
Vojtech Bubnik
a563920108 Merge remote-tracking branch 'remotes/origin/master' into vb_osx_eject 2021-01-07 14:12:40 +01:00
Vojtech Bubnik
865bbb906e Merge remote-tracking branch 'remotes/origin/dk_refresh' into vb_osx_eject 2021-01-07 14:00:21 +01:00
tamasmeszaros
8cbe773711 Fix for incorrect text fitting on gtk comboboxes.
fixes #4584
2021-01-07 13:38:29 +01:00
David Kocik
5cea1876ce request frame with delay when new notification pushed 2021-01-07 13:33:05 +01:00
tamasmeszaros
028df63d82 success with text ellipsize for combobox 2021-01-07 13:24:26 +01:00
David Kocik
02486a0fd9 update notification before erasing finished ones 2021-01-07 13:16:23 +01:00
Vojtech Bubnik
0904346dbc Fixed compilation on OSX 2021-01-07 13:13:35 +01:00
David Kocik
4275190c11 wxWakeUpIdle when render timer ends to ensure idle function spawns and triggers rendering 2021-01-07 12:54:53 +01:00
YuSanka
8c8e2b6ddd Fix of #5698 - When editing presets, list items are always green even if values have changed compared to preset or defaults 2021-01-07 12:26:16 +01:00
Vojtech Bubnik
b2b3ec61cf Fix of previous commit for OSX 2021-01-07 12:19:41 +01:00
Vojtech Bubnik
627609bbc5 Fix of previopus commut 2021-01-07 12:09:47 +01:00
Vojtech Bubnik
d4036067dc Fixing the SD card eject issue on OSX by pushing the call to
"diskutil eject" to a worker thread.
Hopefully fixes Ejecting an SD card is slow and locks UI #4844
2021-01-07 12:02:44 +01:00