Commit Graph

14790 Commits

Author SHA1 Message Date
Vojtech Bubnik
eecd7b23fe Linux locales detection: A little refactoring 2020-12-14 22:59:02 +01:00
Lukas Matena
cd105b53d5 Remove custom supports/seams after mesh repair
The repair can remove some of the triangles, so the custom data would make no sense.
This will hopefully fix #5458

Also, show a notification with a hyperlink to undo just before the repair.
2020-12-14 22:59:02 +01:00
Lukas Matena
c26ba256bc Do not remove custom supports/seams when converting units to imperial 2020-12-14 20:27:19 +01:00
Lukas Matena
79d091ea04 Do not emit M1 gcode for firmwares other than Marlin (after MM priming)
The M1 gcode is apparently only supported on Marlin, others do not support it or use it for something else
This should fix #5441
2020-12-14 20:27:19 +01:00
David Kocik
f8814c8a04 Merge branch 'dk_instances' into master 2020-12-14 19:26:58 +01:00
David Kocik
1b5ce83ef9 Changed condition for showing Open new instance item in dock icon menu (mac). Fix of #5463. 2020-12-14 19:26:25 +01:00
Vojtěch Bubník
8c5a3bf09c Merge pull request #5466 from wavexx/include_atomic
Include <atomic> for std::atomic where needed
2020-12-14 18:29:13 +01:00
Vojtech Bubnik
d0db51f2e8 UndoRedo extension::
has_undo_snapshot(timestamp) to query whether one can undo to a snapshot
with a specific timestamp. Useful for notifications, that want to Undo
a specific operation, to verify whether such operation is still valid.
2020-12-14 16:22:40 +01:00
Vojtech Bubnik
e0edf3f4cc Configuration layer: Support for vectors of FloatsOrPercents and
FloatsOrPercentsNullable, to support further filament overrides
of Print preset values, namely Avoid Crossing Perimeters.
2020-12-14 15:58:47 +01:00
enricoturri1966
21119dd9d7 Tweaked clamping of max toolpaths width 2020-12-14 15:11:38 +01:00
enricoturri1966
10d41b737e #5378 - Do not apply machine limits for non-Marlin firmwares 2020-12-14 14:02:50 +01:00
Vojtech Bubnik
e3752bd980 Fixed previous merge 2020-12-14 12:49:16 +01:00
Vojtech Bubnik
99dafc3c7c Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-12-14 12:47:59 +01:00
Vojtech Bubnik
09a1eebaf8 Avoid crossing perimeters max detour could newly be specified
in percentage of the direct path.
2020-12-14 12:45:49 +01:00
Vojtech Bubnik
a3ead5062c Avoid crossing perimeters max detour could newly be specified
in percentage of the direct path.
2020-12-14 12:36:55 +01:00
Vojtech Bubnik
c49d2cc994 Follow-up to c34b683970
Fix of Slic3r::GUI::format/format_wxstr() for wxString&&
2020-12-14 12:23:29 +01:00
Vojtech Bubnik
88df5adc81 Fix of Slic3r::GUI::format/format_wxstr() for non-const wxString references.
Vojtech seemingly does not understand perfect forwarding:
Why Slic3r::internal::format::cook(T&& arg) is taken for non-const wxString reference?
2020-12-14 12:06:39 +01:00
Vojtech Bubnik
a1799de1e3 PresetUpdater - exceptions reformatted, not throwing an exception
on Linux when changing file attributes, as changing file attributes
may fail when writing onto FAT file system, which does not support
some of the common Unix file attributes.
2020-12-14 11:05:12 +01:00
YuSanka
d9ec994a99 Follow-up on fbf2978190: Refresh Cut gizmo immediately,
when state of "inches" checkbox is changed.
+ Fixed update of Z value, when Cut gizmo is in mm
2020-12-14 09:06:19 +01:00
David Kocik
fb796f2fb7 Typo in preferences string about single instace 2020-12-13 21:21:18 +01:00
Yuri D'Elia
4ff8ff96de Include <atomic> for std::atomic where needed
Fixes build on linux using clang 11
2020-12-13 19:41:47 +01:00
rtyr
88a52f24f8 Fixed end g-code for Ender 5 2020-12-13 09:25:59 +01:00
Vojtech Bubnik
3dbb6fa7ad Fixed retrieving of the "saved in inches" flag from 3MF.
Fixed "import STL from Inches" - it should always scale up even if the
object is bigger than 3x3x3mm.
2020-12-12 18:54:34 +01:00
Vojtech Bubnik
5eaf674589 Bumped up version number 2020-12-12 16:28:01 +01:00
Vojtech Bubnik
40bd9c08c0 Merge remote-tracking branch 'remotes/origin/lm_linux_locales' 2020-12-12 12:39:17 +01:00
Vojtech Bubnik
a6cf909405 Follow-up on aaaa85c1f8
Fix of #5007 - "Reload from disk" causes objects converted to inches to revert to mm
1) Storing and reloading the "source_in_inches" source flag from AMF and 3MF
2) When converting objects with mixed "inches" volumes, do the right thing
   and do not convert those that do not need conversion.
2020-12-12 12:06:15 +01:00
Vojtech Bubnik
0ca2472329 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-12-12 11:26:24 +01:00
Vojtech Bubnik
df03ab392c Follow-up on 3523bb421f
(Ongoing uploads while exiting dialog):
Fixed some string conversion issues.
2020-12-12 11:26:17 +01:00
Lukas Matena
26c55c11c1 Linux: when available locales do not match the desired language completely,
list the installed locales and try to find an alternative

This should fix issues such as #3368 and #2580
2020-12-12 09:21:51 +01:00
Lukas Matena
94605ac260 Fixed a typo in a tooltip 2020-12-12 09:15:01 +01:00
Vojtech Bubnik
367681c4f0 Slight rewording of the keyboard shortcuts dialog. 2020-12-12 09:11:10 +01:00
Vojtech Bubnik
59064ff500 Follow up on 569200eb99
Improved formatting of the vector of dimensions, improved wordings
of error messages and tooltips.
2020-12-12 08:34:43 +01:00
Vojtech Bubnik
1c7059e707 Fixing unit tests for supports. After "dont_support_bridges" was fixed
for perimeters, no support was rightfully generated for a preset
using a default "dont_support_bridges" = off.
2020-12-11 17:57:49 +01:00
YuSanka
a141b97203 Fix of #5315 - Height Slider heights are too squished
+ some code refactoring
2020-12-11 15:58:10 +01:00
David Kocik
55c5b0945c Merge branch 'dk_copy_file' into master 2020-12-11 15:34:56 +01:00
David Kocik
d2f5cd9305 rename single instance setting in preferences 2020-12-11 15:34:09 +01:00
Vojtech Bubnik
f9c202b0df Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-12-11 15:15:53 +01:00
Vojtech Bubnik
8f28f43e97 Merge of Fix support doesn't ignore overhangs bridge anymore #5164 2020-12-11 15:14:16 +01:00
Vojtech Bubnik
0a48f5b3bb Merge of Fix support doesn't ignore overhangs bridge anymore #5164 2020-12-11 15:04:14 +01:00
enricoturri1966
b9ae4fcbcf Faster toolpaths refresh when changing options selection in preview 2020-12-11 14:59:58 +01:00
YuSanka
080088b8db Fix of #5007 - "Reload from disk" causes objects converted to inches to revert to mm 2020-12-11 13:57:58 +01:00
enricoturri1966
8a97255d1c Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-12-11 12:36:44 +01:00
enricoturri1966
e065f61c0b Disabled tech ENABLE_GCODE_VIEWER_STATISTICS 2020-12-11 12:36:26 +01:00
Vojtech Bubnik
a6d261c888 Some shader compilers did not seemingly like #if XXX blocks
if XXX was not defined. Changed to #ifdef XXX.
2020-12-11 12:27:07 +01:00
Vojtech Bubnik
fb54d76a1f Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-12-11 12:21:13 +01:00
Vojtech Bubnik
e74465a4eb Fix of re-slicing with multiple regions.
This is a fix of a bug, which was in Slic3r forever, where raw slices
were not cached, but recalculated from classified regions, where
merging the regions did not produce the original contour reliably.
Fixes [2.3.0-beta2] Odd bad slicing related to infill (?) percentage #5407
2020-12-11 12:21:07 +01:00
enricoturri1966
34cc045544 Merge remote-tracking branch 'origin/et_splitted_vbuffer' 2020-12-11 12:00:51 +01:00
enricoturri1966
460c6c97ac Enhancements in GCodeViewer Statistics imgui dialog 2020-12-11 11:58:08 +01:00
enricoturri1966
85be5b0b27 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_splitted_vbuffer 2020-12-11 11:52:43 +01:00
David Kocik
1b52ce9974 Merge branch 'dk_copy_file' into master 2020-12-11 08:41:18 +01:00