Commit Graph

9749 Commits

Author SHA1 Message Date
Lukas Matena
34a0f6d970 Bumped up version to 2.4.1-rc1 2022-03-03 11:16:57 +01:00
enricoturri1966
b4c11dfc83 SPE-1202 - Fixed project name after loading a 3mf file whose path contains diacritics by double clicking (might be a fix of #7681, #7173 and #7845) 2022-02-25 14:11:06 +01:00
Vojtech Bubnik
97fb6d22dd Follow-up to 8aefe3fc90
Suppress the G-code find / replace substitutions for the non-G-code
    sections (comment blocks) at the start and at the end of the G-code file.
This commit extends the suppressed blocks for G-code find / replace
to placeholders for initial / final M73 commands and over the trailing
G-code comments.
Fixes gcode substitution: replacing comments removes initial and final M73 commands
2022-02-25 12:20:33 +01:00
Lukas Matena
d3e7a9613e Fix of cut gizmo: contour placed incorrectly with elevated objects 2022-02-23 11:01:02 +01:00
Lukáš Hejl
dbc3cfc004 Fixed an issue that, in some cases, an inner brim was not generated. 2022-02-22 12:39:10 +01:00
Vojtech Bubnik
8aefe3fc90 Fix of gcode_substitutions will cause errors in prusaslicer_config dump at the end of gcode #7952
Suppress the G-code find / replace substitutions for the non-G-code
sections (comment blocks) at the start and at the end of the G-code file.
2022-02-21 11:04:43 +01:00
Vojtech Bubnik
6937b34fdc get_wraped_wxString(): Wrapping on '\' on Windows.
Deleting all G-code substitutions: Added a Cancel button.
2022-02-21 09:59:51 +01:00
Lukáš Hejl
945bebd224 Follow-up to e20d041fc9: Fixed a wrong calculation of indices when object instances were used.
Also, it was fixed polygon intersection detection, which was not working when a polygon intersected another polygon by only one edge.
2022-02-18 16:45:50 +01:00
Lukáš Hejl
5d72f18dc6 Follow-up to a4ecf2f2a6. Refactoring of the function for removing duplicate points. 2022-02-16 09:20:45 +01:00
Lukáš Hejl
eef741b095 Fixed a copy-paste typo that could lead to duplicate edges in MMU_Graph in the multi-material segmentation. 2022-02-16 09:20:41 +01:00
Vojtech Bubnik
3e9e3fd102 Follow-up to 58d64bae77
Disabled check for "G92 E0" in layer change G-code for other firmware types
than Marlin 2 and Marlin Legacy. We don't know whether other firmware
flavors are sensitive to E axis accumulation error and we know that
RepRapFirmware is not.

Fixes #7846
2022-02-14 15:11:19 +01:00
Vojtech Bubnik
a062a889d8 Follow-up to a1746e3e66
Fix for #7849 - "Save Project" command doesn't work properly
2022-02-14 14:13:48 +01:00
enricoturri1966
14b7d36070 #7906 - Port of 296041da38 'Fixed 'Export as .stl' scaling not applied on scaled object instances' 2022-02-14 13:58:43 +01:00
YuSanka
d0b694daff Linux specific: Fixed a bug focusing of the some settings tabs
Steps to repro of a bug:
1. FFF/SLA printer is selected
2. Load 3mf projet with SLA/FFF printer
3. Chnage printer to the FFF/SLA
=> (Print a Filanemt Settings)/(Print a Materials Settings) are disabled

Notes: This issue appeared after https://github.com/prusa3d/PrusaSlicer/commit/bfce4f6, when find_toplevel_parent(plater) instead of plater was set as a parent for ProgressDialogs
2022-02-08 17:19:30 +01:00
Lukáš Hejl
a4ecf2f2a6 Replaced smooth_outward in multi-material segmentation with a function that removes duplicate points with angle threshold. It should fix #7838 and #6892.
The main contribution of the smooth_outward function for multi-material segmentation was the removal of duplicate points in polygons using MutablePolygon::remove_duplicates().
But the issue with this function is that it deletes points only based on their distances, which could cause problems like in #7838.
2022-02-07 13:38:22 +01:00
YuSanka
9ea7427ce7 Fix for #7887 - [UI] Add Settings > Layers and Perimeters - some options have non distinct labels
+ Fixed build warning
2022-02-07 13:21:11 +01:00
YuSanka
a1746e3e66 Fix for #7849 - "Save Project" command doesn't work properly
Don't update saved presets on
   * preset selection
   * initialization of PresetCollection
, but update them on
   * load another project
   * initialization of an application
2022-02-07 11:59:39 +01:00
Lukáš Hejl
e20d041fc9 Fixed an issue with a gap in brim when inner brim was used.
This gap still can appear for holes that contain another object.
Also fixed an issue that a huge outer brim can overflow into holes of another object.
2022-02-07 10:48:52 +01:00
YuSanka
874da0281d Fixed SPE-1192
Wrong list of SLA-materials, when no SLA-printer is installed, but 3MF with SLA print is loaded
2022-02-07 10:00:49 +01:00
YuSanka
6667852d92 DiffPresetsDialog: Added info line for truncated option values.
Related to #7852 - Compare Filament Dialog: Values are truncated
2022-02-02 12:44:36 +01:00
YuSanka
fc59a2c1b0 Implemented FR #7850 - G-Code Substitutions: move [X Delete all] button or ask for confirmation
+ MsgDialog:
* Added processing if the wxNO_DEFAULT and wxCANCEL_DEFAULT flags
* Next improvements of get_wraped_wxString() function
2022-02-02 12:44:36 +01:00
enricoturri1966
1fb41a8e22 #4881 - #5073 - #6336 - GCodeProcessor::AxisCoords using doubles in place of floats 2022-02-02 11:22:45 +01:00
Lukas Matena
5c616c5931 Sync to 2.4.1-beta1 2022-02-01 14:16:13 +01:00
Lukas Matena
ebb9041041 Merge branch 'master' into stable - no conflicts fixed 2022-02-01 14:15:18 +01:00
Vojtech Bubnik
9dae482e12 Bumped up version to 2.4.1-beta1 2022-02-01 10:03:22 +01:00
Vojtech Bubnik
be60775077 get_wraped_wxString(): Adapted to work with UTF8 2022-01-31 16:25:20 +01:00
YuSanka
ba82cfa9e3 Follow-up to e3ef90941f - next improvements for get_wraped_wxString 2022-01-31 14:37:53 +01:00
Vojtech Bubnik
56e189943f Follow-up to 3e7a4d4648
Allowed for localization of error messages.
2022-01-31 11:27:32 +01:00
Vojtech Bubnik
e3ef90941f Hopefully fixed get_wraped_wxString() and did not introduce new bugs. 2022-01-31 11:09:13 +01:00
YuSanka
1a57db092f Print Settings: "Output options": Switched a places of "Post-processing scripts" and "G-code substitutions" 2022-01-31 10:19:09 +01:00
Vojtech Bubnik
58d64bae77 Fix of #6336 #5073: Throw an error if G92 E0 is missing in layer change
G-code with relative extruder addressing. Also thrown an error,
if G92 E0 is used with absolute extruder addressing.
2022-01-31 10:19:01 +01:00
YuSanka
de8ba0e850 MsgDialog: get_wraped_wxString(): Fixed a bug in case, when string is break on slash 2022-01-31 09:28:00 +01:00
YuSanka
ea84a46cdc G=code substitutions: Debugger: Fixed wxWidgets assert when new substitution is added
+ Fixed representation of the gcode_substitution in DiffDialog and UnsavedChangesDialog
2022-01-29 11:16:28 +01:00
Oleksandra Yushchenko
ddb14fa7f9
MSW specific: Highlighted text for the default buttons in dialog. Related to https://github.com/prusa3d/PrusaSlicer/issues/7564 (#7830) 2022-01-28 17:16:04 +01:00
YuSanka
07a27c9e2d G-code substitutions: Added path to helper
Fixed a bugs:
* Notes wasn't correctly save to 3mf
* Button "Delete All" wasn't hidden when last substitution was deleted
2022-01-28 17:11:27 +01:00
YuSanka
0ffc27dbe1 GCode substitutions: Added UI ("Notes" editor) to the changed format of gcode_substitutions 2022-01-28 14:01:26 +01:00
Vojtech Bubnik
a103336c8c Fix of Opening a previous version of PrusaSlicer damages configuration #7780
PrusaSlicer writes its version into "version" field of PrusaSlicer.ini
on start, unfortunately it used to do it too early, before the
"configuration invalid, reconfigure" dialog was shown to the user.
If user refused, the version was still written into PrusaSlicer.ini,
which lead to a newer slicer thinking the configuration is outdated.
2022-01-28 11:31:22 +01:00
Slic3rPE
f14ec5e9ae Command key sign in hints 2022-01-28 11:03:51 +01:00
Vojtech Bubnik
7da4bebe7a WIP GCode substitutions: Changed the format of gcode_substitutions by
adding an empty comment as a fourth parameter to each substitution.
In the future, we will provide a UI to show / edit the comment.
2022-01-27 17:02:16 +01:00
Lukas Matena
12cebddce6 Replace Ctrl -> Cmd in hints on Apple. 2022-01-27 16:48:24 +01:00
enricoturri1966
a690f7825c Fixed warning 2022-01-27 12:45:03 +01:00
YuSanka
f79bdbe61e G-code substitutions: Use WarningDialog/ErrorDialog instead of throw RuntimeError during value validation 2022-01-26 15:40:08 +01:00
Vojtech Bubnik
9828abb443 GCode find/replace: Another try to make a sensible "default" behavior
with the boost::regex implementation:
With no "single line", don't accept new lines with a dot '.'.
2022-01-26 13:57:30 +01:00
Vojtech Bubnik
e83d89dee7 Fix of escape_strings_cstyle(), which did not enclose a single word
string containing semicolon ';' character into quotes.
2022-01-26 13:18:52 +01:00
YuSanka
35bc327127 Follow-up to a7520f47a6 " add IU for "Match single line" 2022-01-25 17:26:21 +01:00
Vojtech Bubnik
a7520f47a6 GCodeFindReplace: Implemented perl's "match single line" option
to the back-end.
2022-01-25 16:28:18 +01:00
Lukas Matena
ed508d49d6 Changed the inner seam replacement threshold to 3*nozzle_diameter 2022-01-25 15:40:28 +01:00
Lukas Matena
b86effada0 Fixed one possible crash and a warning 2022-01-25 15:40:28 +01:00
Lukas Matena
9e23795137 Trying to make the inner seam placement a bit more intelligent:
place external seams first, then place inner seam using the normal seam placement
function, only limited to vicinity of the closest external seam.
2022-01-25 15:40:27 +01:00
Lukas Matena
3cc907b361 Seams: changed the overhang penalty calculation, it might have been too much compared to the rest
Also reduced penalty for flat surfaces a bit, based on some testing (hopefully it is not overfitting on the test models)
2022-01-25 15:40:27 +01:00
Lukas Matena
689f923aaf Seam fixes:
- turned off staggering
- fixed a bug in one of the heuristics (distance between indices measured instead of actual distance)
2022-01-25 15:40:27 +01:00
Vojtech Bubnik
79a0345201 Further GCodeFindReplace adjustmnets of regular expressions:
match_single_line: ^$ will NOT match \n
2022-01-25 10:36:30 +01:00
Vojtech Bubnik
6817120932 GCodeFindReplace: Removed boost::match_not_dot_newline | boost::match_not_dot_null 2022-01-25 09:40:24 +01:00
Lukas Matena
cb99d491af Fix of a possible locales mismatch during GCode export
There is a mysterious issue with GCode annotations printed with decimal
commas instead of points. tbb threads should be set to "C" locales when started,
either another thread is spawned by tbb, or someone switches the thread locales
and leaves it in the pool.
2022-01-24 16:21:21 +01:00
enricoturri1966
337d7ffaf6 Follow-up of 0e173e3f82 - Further code optimization 2022-01-24 10:43:49 +01:00
enricoturri1966
39fa0b3c46 Fixed wrong cut contours shown by gizmo cut (SPE-1177) 2022-01-24 09:36:44 +01:00
enricoturri1966
0e173e3f82 Refactoring of lambda extract_move_id() to improve performance of method GCodeViewer::load_toolpaths() 2022-01-24 08:51:19 +01:00
YuSanka
959804c80c Fixed a use of uninitialized variables reported by MemorySanitizer 2022-01-21 16:54:18 +01:00
YuSanka
c9dbc1cbba Localization: Added missed phrases -> Updated POT and dictionaries for CZ, PL, IT, ES, DE, FR
+ Command to remove obsolite lines is added to gettext_concat_wx_po_with_po and gettext_merge_po_with_pot scripts
+ POs for CA, KR, NL, BR, RU, TR, UK, ZH are merged with new POT
+ Updated all MO files
2022-01-21 15:31:01 +01:00
YuSanka
fa9a0beec7 Follow-up to 1dffc40f - Save app_config every time a "restore_win_position" is changed
Fix for cases witch are described in https://github.com/prusa3d/PrusaSlicer/issues/2939#issuecomment-1017730712
2022-01-21 11:17:14 +01:00
Lukas Matena
d2664ea295 Fixed crashes with specific configuration of draft shield:
the crashing cases were:
- skirts=0 + dsEnabled
- skirt_height=0 + dsLimited

Also, when ooze_prevention is enabled with multiple extruders and skirt is disabled, 2.4.0 does not generate infinite skirt.
Version 2.3.3 does, ooze prevention overrides the disabled skirt. This commit reinstates the old behaviour.

The issues were introduced in b466f18.
2022-01-21 11:07:18 +01:00
Lukáš Hejl
6fed5c29a1 Fixed use of an uninitialized variable in GLGizmoPainterBase::update_raycast_cache(). 2022-01-20 15:31:53 +01:00
YuSanka
d1523d2a6b Localization: Updated POT and dictionaries for CZ, PL, IT, ES, DE, FR
+ Fixed phrases in Tab.cpp, hints.ini, NotificationManager.cpp
+ POs for CA, KR, NL, BR, RU, TR, UK, ZH are merged with new POT
+ Updated all MO files
2022-01-20 14:18:55 +01:00
YuSanka
c932936b68 Fix of warnings 2022-01-20 14:18:55 +01:00
David Kocik
86c49163f8 latin-2 for Hungarian in imgui
#5479
2022-01-20 14:17:02 +01:00
enricoturri1966
803d797bd7 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_z_offset 2022-01-20 13:46:03 +01:00
YuSanka
ded855d0c2 Fix for #7781 - Entering value in Thumbnail setting causes PrusaSlicer to crash
Follow-up 106e520a - During code refactoring "thumbnails" option wasn't correctly processed
2022-01-20 10:07:26 +01:00
Lukáš Hejl
e0883910dd Added a missing include (Clang 12 without PCH). 2022-01-19 20:39:28 +01:00
Lukas Matena
06cca525d0 Added a missing include for gcc 2022-01-19 15:16:46 +01:00
YuSanka
667842ec8b Implemented get_wraped_wxString() to wrap the message text inside the MessageDialog and RichMessageDialog 2022-01-19 15:16:18 +01:00
YuSanka
6b83ded669 LockButton: Deleted unnecessary call of UpdateDarkUI()
+ Added some smarter update on SetLock()
2022-01-19 15:16:18 +01:00
enricoturri1966
ab171441aa Follow-up of 4b4d1c2f2a - Restored line deleted by mistake 2022-01-19 13:26:58 +01:00
enricoturri1966
4b4d1c2f2a #7773 - Fixed GCodeReader::parse_line_internal() to skip whitespaces between axis digit and axis value 2022-01-19 12:08:00 +01:00
enricoturri1966
76ce53f095 Tech ENABLE_Z_OFFSET_CORRECTION - Correction of toolpaths zs when z offset is set 2022-01-18 15:53:59 +01:00
YuSanka
2cc20594a4 Localization: Updated POT
+ Fixed some phrases in Preferences and Hints
+ fixed #7588 - Typo in new help feature in 2.4.0
2022-01-17 13:42:35 +01:00
YuSanka
f497ba7bf0 Follow-up to 99f510d4 - fixed a typo 2022-01-17 12:29:47 +01:00
YuSanka
106e520a10 Invalidate print when G-code substitution is changed
+ DiffDialog: Fixed get_string_value() for "gcode_substitution"
+ some code refactoring :
    For PresetCollection added is_independent_from_extruder_number_option(opt_key)
    to check if option is from the list of options with vector variable, which is independent from number of extruders
2022-01-17 12:29:47 +01:00
YuSanka
3a81dd5c5a Completed UI for G-code find & replace 2022-01-17 12:29:47 +01:00
YuSanka
8a387fc52d WIP: First IU implementation for G-code substitutions 2022-01-17 12:29:47 +01:00
Vojtech Bubnik
aa62868ccb WIP G-code find & replace: Unit tests and some bug fixes. 2022-01-17 12:29:47 +01:00
Vojtech Bubnik
2da3d80a62 Fixing compilation on non-MSVC. 2022-01-17 12:29:46 +01:00
Vojtech Bubnik
d4fd95bd4a WIP: G-code find & replace: Support for non-regular expression,
whole word and case insensitive search.
2022-01-17 12:29:46 +01:00
Vojtech Bubnik
add1e994fa WIP G-code Find-Replace: Optimize regexps, process complete G-code,
not only G-code of layers.
2022-01-17 12:29:46 +01:00
Vojtech Bubnik
658f01b64b WIP: G-code find / replace using a new gcode_substitutions PrintConfig
parameter.
2022-01-17 12:29:46 +01:00
Lukáš Hejl
c54b8908dd Follow-up of 878dce1fdf. 2022-01-17 12:25:02 +01:00
Lukáš Hejl
878dce1fdf Workaround for "Internal compiler error" in 32-bit MSVC (19.29.30037) compiler after dc00f0bf98. 2022-01-17 12:22:19 +01:00
David Kocik
76abbe97f6 fix of of unchecked substr in Upload Dialog
possible fix of #7681
2022-01-17 11:14:30 +01:00
enricoturri1966
9190810c1f Fixed volume transparency when changing volume type 2022-01-17 08:04:07 +01:00
Lukas Matena
200cbd165f Changed texts in the new 'crashed when restoring position' dialog 2022-01-14 17:26:19 +01:00
Lukas Matena
c28615cfcb Bumped up version number to 2.4.1-alpha0 2022-01-14 12:09:52 +01:00
Lukáš Hejl
dc00f0bf98 Modified variable offset in the avoid crossing perimeters to not cause scars on thin objects (#7699).
Previously, the minimum contour width was chosen too conservative and, on some thin objects, only allowed minimal (or non) offset. This could result in travels being planned along the outer perimeter.

Now, the minimum contour width is chosen much smaller at the start and tested if the variable offset wasn't failed (the outer contour broke up into more parts, more or fewer holes, etc.).
If any problem is detected, the variable offset is recalculated with a larger minimum contour width.
2022-01-14 00:59:25 +01:00
enricoturri1966
7ab39f6255 Fixed warning 2022-01-13 08:08:40 +01:00
enricoturri1966
d9c7855c39 Fixed tooltips for imgui sliders in GLGizmoHollow 2022-01-12 15:49:13 +01:00
enricoturri1966
0cb0f56a80 Tech ENABLE_ENHANCED_PRINT_VOLUME_FIT set as default 2022-01-12 14:12:13 +01:00
enricoturri1966
243f5c38ee Tech ENABLE_ENHANCED_IMGUI_SLIDER_FLOAT set as default 2022-01-12 13:36:31 +01:00
YuSanka
cd159ef298 Fix for #7734 - Saving Dialog: Values are truncated
Info line was "lost" after big code refactoring 4cdcfe60

+ MsgDialog: Added missed include
2022-01-12 12:55:20 +01:00
enricoturri1966
b4308f4245 Tech ENABLE_MODIFIERS_ALWAYS_TRANSPARENT set as default 2022-01-12 12:35:36 +01:00
Vojtech Bubnik
123fc13123 Fixing perl tests. 2022-01-12 11:46:51 +01:00
YuSanka
090a424c1a Fix for detection of the DoubleSlicer mode 2022-01-12 11:21:57 +01:00
YuSanka
5a2925466d Follow-up to 1dffc40f32 - Fixed a message text.
+Improved context of the MessageDialogs. We can use hyperlinks now.
2022-01-12 11:19:59 +01:00
YuSanka
1dffc40f32 Follow-up to 010fbded1a - Save app_config before a place of potential crash + fixed non-MSW build 2022-01-11 14:22:40 +01:00
YuSanka
010fbded1a Added "Restore window position on start" option to the "Preferences > General"
+ added crash detection for the cases, when PrusaSlicer is started from secondary display

Possible fix for part of:
 #2939 - PrusaSlic3r freezing at startup (Win 10)
and
 #5573 - PrusaSlicer won't launch on secondary monitor. Nahimic?
2022-01-11 13:53:25 +01:00
Vojtech Bubnik
a591d9e9fe Implemented new placeholders for output file name:
1) "initial_filament_type", "printing_filament_types" - really useful
   for multi-material prints

the two other are not so useful, they may become useful once
the output file name template will support not yet defined
vector variables:
2) "initial_tool", "initial_extruder" - zero based index of first extruder
3) "num_printing_extruders" - number of printing extruders.

Fixes Filename incorrect when exporting G-Code with MMU. Always refers filament type in extruder 1 #5300
Fixes Export Filename nicht richtig #7673
Fixes wrong filename - always Filament in from the first extruder #7684
2022-01-10 17:57:03 +01:00
Vojtech Bubnik
4ebfe58352 Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer 2022-01-10 15:24:27 +01:00
Vojtech Bubnik
07d0484e32 Fix of Empty G1 before starting bridging perimeter #7714 2022-01-10 15:24:19 +01:00
David Kocik
411acf7332 followup on 16fd7cd5d1
cleanup
2022-01-10 14:38:58 +01:00
David Kocik
16fd7cd5d1 Fix of conversion of strings in Print host queue dialog 2022-01-10 14:34:35 +01:00
Lukas Matena
da8e4b6fda Some more beautifications 2022-01-10 12:56:03 +01:00
Lukas Matena
85f98b880a Hide min feedrate from machine limits page for RRF (which does not use them) 2022-01-10 12:52:21 +01:00
Lukas Matena
b3726f1f88 Fixed RRF time estimate,
so it does not use  min feedrate limits from previously selected printer (RRF itself does not support them)
2022-01-10 12:52:21 +01:00
Lukas Matena
f3e14865e5 Minor tweaks in machine limits handling:
- renamed some variables so the names are not misleading
- improved readability a bit
- disabled silent mode for RRF (it was apparently enabled by mistake)
- set default value of machine_limits_usage to TimeEstimateOnly
2022-01-10 12:52:21 +01:00
n8bot
bfb721f302 Add compatibility for Machine Limits and RRF (PR #7347) 2022-01-10 12:52:21 +01:00
Vojtech Bubnik
c5d1e2449c Fix of #7583: Wizard crashes due to accessing undefined AppConfig section. 2022-01-10 08:26:33 +01:00
tamasmeszaros
ce81c02049 Fixing corrupted SLA pad
fixes SPE-1157
2022-01-07 10:09:20 +01:00
David Kocik
747cf8a0fe partial fix of #7583
Disabled sending of system message at shutdown on OSX Sierra and older.
2022-01-06 15:00:45 +01:00
enricoturri1966
ac90d3d5c2 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_spiral_vase_layers 2022-01-06 14:08:18 +01:00
YuSanka
2b66a81ee1 Preferences: Changed tooltip for the "Suppress to open hyperlink in browser"
+ Show "PrusaSlicer: Don't ask me again" dialog when "Remember my choice" is checked in "PrusaSlicer: Open hyperlink" dialog
+ Ignore suppress of hyperlink for menu items
+ Code refactoring for OptionsGroup::launch_browser() => use common wxGetApp().open_browser_with_warning_dialog().
2022-01-06 13:55:40 +01:00
enricoturri1966
e031001f0a Follow-up of d2e495c700 - Fixed other warnings 2022-01-06 13:29:28 +01:00
enricoturri1966
3c43d0ae43 Follow-up of ffe678e0ea - Re-enabled 'Export to STL' command for modifiers 2022-01-06 13:00:36 +01:00
enricoturri1966
d2e495c700 Fixed warning 2022-01-06 12:34:00 +01:00
enricoturri1966
7ed80e0a8d Tech ENABLE_SPIRAL_VASE_LAYERS - 1st installment - Per-layer preview for spiral vase mode 2022-01-06 11:43:05 +01:00
YuSanka
19f919eca1 Implementation of the Preferences option "Ask for unsaved changes in project" 2022-01-06 10:39:12 +01:00
David Kocik
3f14484eca Moved Odaki's implemetation of searching for end of utf8 sequence to separate function.
+ Fix of 0xC0 in trailer bytes 
followup on fff862a5ae
2022-01-05 14:45:56 +01:00
odaki
fff862a5ae Fix garbled text in Hint
Fixed a problem where CJK characters at the end or beginning of a line were sometimes not displayed correctly.
2022-01-05 14:44:22 +01:00
enricoturri1966
8d638a77e5 Refactoring of GLCanvas3D::check_volumes_outside_state() to prevent assert while using SLA printer 2022-01-05 11:17:39 +01:00
Lukáš Hejl
1aac99b809 Fix of #7618 (Crash in the multi-material segmentation when a negative volume was used on painted areas of a model.) 2022-01-05 11:11:29 +01:00
enricoturri1966
ba643fa5fa Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2022-01-05 10:23:55 +01:00
enricoturri1966
ffe678e0ea #7647 - Re-enabled 'Export to STL' command for volumes. It was working in 2.3.3 and got disabled somehow. 2022-01-05 10:23:48 +01:00
YuSanka
9bbcfb80b1 Some beatification for Sliced Info: "Used Filament" is moved to the first place 2022-01-05 09:47:34 +01:00
YuSanka
7d6d98cd0f MSW-specific: FirmwareDialog: Fixed color of the text when firmware flashing is done
+ Deleted some commented code
2022-01-05 09:40:39 +01:00
Vojtech Bubnik
3aad2a9f4a Cancelling "fix by netfabb" may leave output file handler to a temp file
opened. This is fixed now.

Fixes Memory leak when exporting to netfabb and cancelling #7632
2022-01-04 17:29:24 +01:00
YuSanka
b5c45762c9 Follow up to 229df98386 - fixed non-MSW builds 2022-01-04 17:16:16 +01:00
YuSanka
229df98386 MSW specific: Highlight a focused buttons
Fix for #7564 - Button in focus is not highlighted anymore in PS 2.4 (accessibility issue)
2022-01-04 16:39:10 +01:00
YuSanka
34d9fbdc35 Fixes for localization of the PrusaSlicer - 2.4.0
* Added some missed phrases.
* Added some missed files to the list.txt
* Fix for https://github.com/prusa3d/PrusaSlicer/issues/7114 - Reword of the "Ask for unsaved changes..."

* Fix for https://github.com/prusa3d/PrusaSlicer/issues/7542 - Added localization for default buttons Yes/No
  Note: For some default buttons/labels/dialogs/... is used localization in wxWidgets.
        But dictionaries have to contain this strings, otherwise texts wouldn't be localized.
        "wxWidgets/local" contains dictionaries for all this default phrases.
        So, a copy of this field is added as a "wx_local" field to the "resources/localization" field.
        And a "gettext_concat_wx_po_with_po" script is written to concatenate strings from wx_local/lang_code.po to resources/localization/lang_code/PrusaSlicer_lang_code.po.
        So, to create a MO file from updated PO we have to execute "gettext_concat_wx_po_with_po" and only then execute a "gettext_po_to_mo" script.
2022-01-04 16:31:27 +01:00
enricoturri1966
0df7efe462 #7550 - Fixed error message when trying to import an invalid stl for commands 'Reload from disk' and 'Replace with STL' 2022-01-04 09:57:45 +01:00
Lukas Matena
a554f1fb08 One more speedup of place on face 2022-01-03 16:29:26 +01:00
Lukas Matena
b034402912 Fix of slow place on face on complex models #7587 2022-01-03 15:20:14 +01:00
Vojtech Bubnik
215e845c31 Fixed FDM support generator for object layers lower than minimum
layer height enabled for an extruder.
2021-12-21 16:57:35 +01:00
Vojtech Bubnik
15d95e4264 Fix of Can't add Filament in RC2 #7544 2021-12-21 13:20:47 +01:00
Vojtech Bubnik
53af2fc0b8 Fixed crash in send system info dialog due to empty prerelease string. 2021-12-21 10:34:55 +01:00
YuSanka
f2e2b03fa4 Follow-up to 942c6ea7d8 - an assert is commented.
Note: value can be equal to zero, when move.type==Travel
2021-12-20 16:19:17 +01:00
YuSanka
2419357a88 Non-MSW specific: Fixed a default focus for message dialog
See https://twitter.com/ZMelmed/status/1472678454168539146
2021-12-20 16:01:09 +01:00
Vojtech Bubnik
942c6ea7d8 Follow-up to 2e250c1463
2f63805857
The issue was caused by 2e250c1463
that did not do the binning of floating values well for small numbers,
small numbers were rounded to zero.
The new code now rounds to two significant digits similarly to
sprintf(buf, "%.2g", value)
2021-12-20 14:47:51 +01:00
enricoturri1966
2f63805857 #7522 - Fixed toolpaths height calculation for ironing extrusion role 2021-12-20 11:17:44 +01:00
Raphael Sobik
293715a6de
Fixes setting tool on reprapfirmware (#7536)
The if branch already contains the correct code for RepRapFirmware, but the condition misses the check for the RapRapFirmware flavour.
2021-12-20 11:03:36 +01:00
Vojtech Bubnik
ef66087355 Fixed crash when exporting G-code with no extrusions generated
for printable object.
Fixed by cancelling slicing process and emitting an exception
to show a notification.
Fixes carsh #7538
2021-12-20 08:30:54 +01:00
Lukáš Hejl
62d9f73d78 Fixed use of an uninitialized variable in TriangleSelector caused the cursor radius in TriangleSelector to be mistakenly reset after undo. 2021-12-17 18:20:43 +01:00
YuSanka
5dfbea2c10 Squashed commit of the following:
commit 79e58944b3c08e429d7dbb6592d0b758fbc9c3c4
Author: YuSanka <yusanka@gmail.com>
Date:   Fri Dec 17 14:38:49 2021 +0100

    Localization: Fixed some phrases for RU dictionary (see last comments to https://github.com/prusa3d/PrusaSlicer/pull/7501)
    + Fixed no needed formatting in CA dictionary

commit 44536ecebc41551a8129650cf882d2aefccbe1a5
Merge: 47df9458f 96485a044
Author: YuSanka <yusanka@gmail.com>
Date:   Fri Dec 17 14:26:01 2021 +0100

    Merge branch 'master' of https://github.com/AndylgTom/Slic3r into AndylgTom-master

commit 96485a044a51d97828b7e77cfd8af12e7bb35152
Author: Andy <andylg@yandex.ru>
Date:   Thu Dec 16 23:41:46 2021 +0700

    Update PrusaSlicer_ru.po

    Пофиксил указанные замечания

commit 52f7b9e5b62895dfab906150e25b6da4d260fcc1
Author: AndylgTom <andylg@yandex.ru>
Date:   Wed Dec 15 15:56:31 2021 +0700

    Russian localization update for PrusaSlicer-2.4.0-rc

    Russian localization update for PrusaSlicer-2.4.0-rc+win64-202112141553
    Please check those lines where there are three questions "???". There are 12 such lines.

    Обновление русской локализации для PrusaSlicer-2.4.0-rc+win64-202112141553
    Прошу проверить те строки, где встречаются три вопроса "???". Таких строк 12.

commit 387ca46d8a101ee9b01963c379bef7bca45f0dfb
Author: Andy <andylg@yandex.ru>
Date:   Thu Jan 14 11:53:08 2021 +0700

    Update PrusaSlicer_ru.po

commit ddef2cd1ef728be28aae62e9269fa3e65d8a1d32
Author: Andy <andylg@yandex.ru>
Date:   Thu Jan 14 11:49:59 2021 +0700

    Update PrusaSlicer_ru.po

commit 94e3946875865f141aff61fabcc121d81775b0ac
Author: Andy <andylg@yandex.ru>
Date:   Thu Jan 14 11:20:53 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 0e97fd9e4ee92d1c2d525401d3294cf9b872bc27
Author: Andy <andylg@yandex.ru>
Date:   Thu Jan 14 11:20:27 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit fc452d215ec6d724794a1799d297cc31fe412234
Author: Andy <andylg@yandex.ru>
Date:   Thu Jan 14 11:18:05 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 702b0f5a322d122cb028b748ae044c5d88b0ef24
Author: Andy <andylg@yandex.ru>
Date:   Thu Jan 14 11:14:32 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 3b56531fb06bbb49a620154524a1a75371ea73e5
Author: Andy <andylg@yandex.ru>
Date:   Thu Jan 14 11:13:19 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 0d5fcd9d801e4ff0aeb432f61f730d68a12bb9a5
Author: Andy <andylg@yandex.ru>
Date:   Thu Jan 14 11:13:01 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 0e0047d0742ba597b8854f8a9bc72002c9e429ce
Author: Andy <andylg@yandex.ru>
Date:   Thu Jan 14 11:11:06 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 0d3ec8517034df62ebd0923bbc05f3c63d316684
Author: Andy <andylg@yandex.ru>
Date:   Thu Jan 14 11:10:42 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 596df1a6909e58cbbb6b0bbc1a30cbfaff2460e2
Author: Andy <andylg@yandex.ru>
Date:   Thu Jan 14 11:10:10 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 2086358438670eebe51f7241a59bea1dbcce9eda
Author: Andy <andylg@yandex.ru>
Date:   Thu Jan 14 00:36:19 2021 +0700

    Update PrusaSlicer_ru.po

    USB-разъём

commit e2adfc752742861f2242caa7db893e317d3e4382
Author: Andy <andylg@yandex.ru>
Date:   Thu Jan 14 00:20:01 2021 +0700

    Update PrusaSlicer_ru.po

    нить -> пруток

commit 3db9c2f678e5bb3f56a7192e66b75a7852c66b60
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 23:10:22 2021 +0700

    Update PrusaSlicer_ru.po

commit 6f8a9de9247334e2ec683a234feb10371c1dc0e6
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 23:01:41 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 57c0ad1c27c70bb3d18403c067a3842f598bd191
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 23:00:03 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 8db333ac63e8962efd0bcf3efbc632164172be95
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 22:41:27 2021 +0700

    Update PrusaSlicer_ru.po

commit e7cdc325209e187c8fec54bf02606172e3bd3b89
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 22:38:56 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 943c514d8c5f8000174dfe51e6c5feead5849b67
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 22:17:26 2021 +0700

    Update PrusaSlicer_ru.po

    Выбор\...

commit d83a85f2418f24d8793c90ab0e705003c739a4e0
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 22:08:26 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 792849721a975d7bbd8b99f23e0584d31042766b
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:44:58 2021 +0700

    Update PrusaSlicer_ru.po

commit ef19ef3030b79045bc0e1f483530b8cd7a1da11d
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:41:25 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit a21dee7052f1c79853c9316a1a9b5bfe3d716428
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:33:15 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 07f3da91472824409fdf95cf4660959ad652c334
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:32:21 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit e1f948b37955b88209c087d52ff20e1bc6640683
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:20:31 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit d74900bacac7ba9eb340dcd07b36098d23369e64
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:19:35 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit d64d56191d924b897b030a03a791741c6be07657
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:18:39 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 49f071ec9d22dbecb47102e0f658cc137f9b9639
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:17:51 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 2af9eaad0016ec6c9c4f4b4cef1658d6f16a3e08
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:17:11 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit b0042f9077d803bb1fdb04abb3d844b0291411e9
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:16:22 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit dddfd61936ae9f09ef757e7e76af07cfb375f028
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:14:52 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 7466bbc37d971dbe67b072f2d7350393c196a4e5
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:14:21 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 759130b8116eaec794fd964edcee49d0d62f291d
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:13:34 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit c66d33000be4c6625d754e9066dc7ac930ae59da
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:12:33 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit cb75e4bf61161bf2ed75998ae13b63a1990310ad
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:10:06 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 65d0167bc2f1d8937edfd3c91f28ba1005d885cf
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:09:05 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 4c43e1c28f61976324cbbad3d89277d3e9abe051
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:07:35 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit a75b38ada68240e0df9dfb754eab08651775ea41
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:06:25 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit ed56a52747483262440e0331ec2d8518e1f81dc2
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:05:15 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit c1f2f58d1d0f888f875f0db0d0580f3063f0e178
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:04:43 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit e4e6519006c23f0a7d0029db41c2ed6ed4ff918a
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:03:53 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit fb7de82d9d672040ac632c2fe9d3c69c67da85a8
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:03:11 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit ce2182117d5e3f2e76c2ab0ffc0f9bd2ccf97f37
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:02:10 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit e46e0584e21c72116a866c7c20275e32ce387315
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:01:43 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit fa1dfe5add4dde9e73561d15568720321b8edbc7
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:00:49 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 17a6da79188fbd7878b3007016e0313f193e6a67
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:00:18 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 00d675e20e79915f46a8ace8ef4f5d3c19f84fec
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:59:22 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 0d60f4db0b20350f75d1b2c804b9f89b23784b4c
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:58:50 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 29218c1cc1c154b0be3545ddde67eafce4af01c7
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:58:24 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit a051c50e4bdd7c6b6e69d86e231eddfe7e2f3e1b
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:57:44 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit ea7d25cd85f934c6a59eac5afe5fcbc93c496b3a
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:56:43 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 40382f84cd8c3673ce7e3f6a21811308bb271cf5
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:56:06 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 481f96827a7f0ce1d3ad256b3966642d59272fcf
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:53:29 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 372052034ab50618232507663da6ff411c244d38
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:52:47 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 11eb973a47a77b3b1b392a6534b0575d5c6e2fa3
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:51:51 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit c363477b2b84f3065f65b5fd5f4e4c1fd51a09f7
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:50:33 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 732fbf1d9cdb8b185c6a4bc423d0fd9a386e52a1
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:49:51 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 36e88e76aaaa4e106e483330f3a2a4c9d89c48d7
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:49:25 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit dbc1f2eeab9a2b15bf09779960feff881c8d788c
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:48:32 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 1ca4e35ffd4dca4d779e91886134ee1cef5b294c
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:47:50 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 209779fcd6f008f827b2a1991bad74ed010514e6
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:46:59 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 29bc1b370b444e51ebe0a3e66139f3bc833ea4ce
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:46:03 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit cea039e9a60f5808be296fff69e43ea27b6a2714
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:45:18 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit be48ee82d2a066df2dc6e4daaa2876a962ae4804
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:44:48 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit f61990e12db90385a66e992d55f4cd9b10b907b8
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:44:15 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 0aadf3d551f3abbca81af1daf6956fc7fce9affe
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:43:44 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 2ae2e9402bc39717f4804089b4466e77c0dff18a
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:43:13 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 4cdea4b9fa6911140e1a6c68f8084ac85181dab8
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:42:44 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 2289cc62215ceee9825787348a2cb12c3cd8327f
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:42:27 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit f8e844f43ff98c61b1dc1b31bef614a45b63651b
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:42:02 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 45d11889748eedfb6fe868b33af4d155dca98bd6
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:41:35 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit e1a5b07c12a889996243353e97f6c2794d62e569
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:40:43 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 679fe59818b5e797140ef6d52966461f1496bbe6
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:39:50 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit abdb6d17d51e73075ae15e107abf4d3af0d950d5
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:38:44 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 1c55ed72425bd7329d26f26a3ddad12b109aaeb5
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:38:13 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit d1cdff3ee7fb3f5079a4a393f0cad7871c22d9ee
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:38:03 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 49e22e3341dfba5064b1ea6ee2e9e7e315385cc8
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:37:06 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 74620d591da0742350b3b41952a66354f0f63c96
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 16:36:41 2021 +0700

    Update PrusaSlicer_ru.po

commit c220687f7e1d21798dd90d1be15e62decda548fb
Author: AndylgTom <andylg@yandex.ru>
Date:   Sun Jan 10 03:00:24 2021 +0700

    Updating the Russian translation PrusaSlicer-2.3.0-rc3

    Updating the Russian translation PrusaSlicer-2.3.0-rc3 by Andylg
2021-12-17 14:55:13 +01:00
YuSanka
1955baa14b GUI_ObjectList: Get list of the loaded files before a taking of Undo/Redo snapshot
+ Fixed localization for the "Post processing" description line
2021-12-17 12:49:55 +01:00
Vojtech Bubnik
93c4b941b5 Importing newer configuration data: Fixed compiler warning,
improved error reporting when deleting old cache and vendors directory.
2021-12-16 17:51:40 +01:00
Vojtech Bubnik
13566e3f93 Follow-up to acee3ff1f9
Fixed crash when changing modifier type on a circular printbed
2021-12-16 17:50:36 +01:00
YuSanka
f83ba22a12 Fix for switch Dark/Light mode when preset settings are in separate dialog.
Set new color for title bar, tab bar and all scroll bars for settings dialog
2021-12-16 15:06:48 +01:00
enricoturri1966
acee3ff1f9 Fixed crash when changing modifier type on a circular printbed 2021-12-16 14:01:44 +01:00
enricoturri1966
818a92497a Fixed call to take_snapshot() in ObjectList::load_subobject() 2021-12-16 12:03:11 +01:00
Lukáš Hejl
285e2a32a2 Fixed issues in inner_offset() in the avoid crossing perimeters that caused in some cases travels to follow the first perimeter instead of the second one. 2021-12-16 08:57:04 +01:00
Lukáš Hejl
729ffc9dd6 Fixed that external travels led inside holes (around the perimeter) instead of inside the model when the avoid crossing perimeters was enabled.
Caused by changed behaviour of offset/expand functions when called on CW polygons (holes) after 7ff76d0768. When it is called expand on CW polygons (holes), they shrunk instead of expanded.
2021-12-16 08:56:29 +01:00
Vojtech Bubnik
2dc461719f Importing newer config when starting the application:
Cache directory is newly deleted before it is imported from the newer
config location.

Linux specific: When asking for certificate directory, perform import
of configs first.
2021-12-15 16:09:22 +01:00
YuSanka
5579b31a26 UpdateDialogs: Fixed an alignment inside a GridSizer, when "Open changelog page" is added. 2021-12-15 15:58:18 +01:00
Vojtech Bubnik
b2bcf17dfa Fixed previous commit 2021-12-15 14:52:01 +01:00
Vojtech Bubnik
5ba9d59307 If taking configuration snapshot before importing newer configuration fails,
offer to stop importing configuration.
2021-12-15 14:27:25 +01:00
Vojtech Bubnik
56d50d7707 Delete existing vendors before importing newer vendors, as the existing
vendors may not be referenced by newer PrusaSlicer.ini imported.
2021-12-15 13:43:37 +01:00
YuSanka
ab245a97a4 Fix for #7496 - Dark-mode selection highlight 2021-12-15 13:24:40 +01:00
Vojtech Bubnik
41fa4a05f9 Fixing AppConfig::reset(), calling reset() before load().
This fixes some issues when importing newer configuration over the current.
2021-12-15 12:04:43 +01:00
Vojtech Bubnik
12756e7979 Fixing previous commit on AppConfig and loading newer configuration. 2021-12-15 11:22:44 +01:00
Vojtech Bubnik
87880022fc Some improvements to copying of newer configuration to current folder:
1) Less context is kept in GUI_App.
2) Copying is not being done if loading current PrusaSlicer.ini fails
3) AppConfig (PrusaSlicer.ini) is saved first after the newer configuration is installed.
2021-12-15 11:09:34 +01:00
YuSanka
3ec78c4ccf MsgDialog: Fix for scale of the message size, when mainframe wasn't created yet but InfoDialog is shown 2021-12-15 11:01:12 +01:00
Vojtech Bubnik
b95a83aec1 Bugfix: Loading of AppConfig from an alternate locations. 2021-12-15 10:30:22 +01:00
YuSanka
14cb4a1314 Initialize fonts before first UI action 2021-12-15 09:50:19 +01:00
YuSanka
322583bc78 Revert of the 8b3e413633, which was caused the issue #7498 2021-12-15 09:03:38 +01:00
YuSanka
74cf1ed0f9 MsgDialog: Fixed text color under non-MSW platforms 2021-12-14 16:34:56 +01:00
Vojtech Bubnik
b3d42df0f7 Bumped up version to release candidate,
changed the configuration directory from beta to final.
2021-12-14 14:49:32 +01:00
YuSanka
e2ac37e717 Follow-up 6d2efe29a4 - Call wxInitAllImageHandlers() before any UI actions to avoid "No image handler..." warnings.
+ Deleted unnecessary app_config->save() call
2021-12-14 14:56:38 +01:00
Lukáš Hejl
08402abf2b Used double instead of float for computing distance between two polygon vertices in precompute_polygon_distances() in the avoid crossing perimeters.
Using a float instead of a double caused accumulation of error in the calculated distance, which in rare cases triggered an assert in get_shortest_direction().
2021-12-14 14:49:00 +01:00
YuSanka
6d2efe29a4 Localization: Updated dictionaries for CS, DE, ES, FR, IT, NL, PL
+ GUI_App.cpp: Set language, color mode and initialization of image handlers before a call of check_older_app_config()
2021-12-14 14:13:44 +01:00
enricoturri1966
cc2b8da6a4 #7461 - Use three floats for defining vertex normal to render travel toolpaths. This fixes a crash on NVIDIA Quadro graphics cards when turning on travel moves visibility in preview. 2021-12-14 13:53:37 +01:00
YuSanka
8b3e413633 Follow-up e2475c95 - Disable check of the compatibility of the "support_material" and "overhangs" options for profile which was loaded from 3mf 2021-12-14 11:49:53 +01:00
YuSanka
5243abcece Check "support_material" and "overhangs" relations only on global settings level.
Note: It can be changed in the future, when infrastructure for saving of this relation per configuration will be implemented
2021-12-14 10:49:47 +01:00
YuSanka
dc3da0b626 Fix for crash from #7486 - PrusaSlicer crashes when doing this commands 2021-12-13 16:19:58 +01:00
David Kocik
2121a98bea Double ampersand in text 2021-12-13 13:39:24 +01:00
enricoturri1966
80324de45d Fixed objects bigger than print volume set as sinking after calling 'Scale to print volume' command - SPE-1155 2021-12-13 11:32:59 +01:00
Vojtech Bubnik
373ea7ce75 Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer 2021-12-13 11:18:55 +01:00
Vojtech Bubnik
e3d345aa17 Fix of PrusaSlicer crashes when using fuzzy skin and setting 0 for values #7468
Fuzzy skin will be disabled for regions with
with fuzzy_skin_point_dist < 0.01 or fuzzy_skin_thickness.value < 0.001
as the first one creates excessive long extrusions while the second
one does not modify the perimeters.
2021-12-13 11:18:43 +01:00
enricoturri1966
0d68a534ab Always use batched models to render options in preview 2021-12-13 09:50:13 +01:00
YuSanka
23284b61ea Fix for #7481 - Found typo in BitmapComboBox.cpp L257: _MSW_DAEK_MODE 2021-12-13 09:27:35 +01:00
Vojtech Bubnik
021457d40f Fixed minor typo in wording. 2021-12-12 14:44:12 +01:00
Vojtech Bubnik
23e4ecdf0f Follow-up to c772d28070
Support for oneTBB from oneAPI, where Intel reworked and deprecated
some interfaces.
Implements some of TBB universal fix (2020/2021 fixes) #7332
This one adds TBB_HAS_GLOBAL_CONTROL for the up to date oneTBB.
2021-12-12 14:14:43 +01:00
Vojtech Bubnik
c772d28070 Support for oneTBB from oneAPI, where Intel reworked and deprecated
some interfaces.
Implements some of TBB universal fix (2020/2021 fixes) #7332
2021-12-12 14:01:06 +01:00
Vojtech Bubnik
a9dfb74c67 Fix of Bed shape inverted origin position #7474
The bug was introduced with cc44089 due to out of print bed detection refactoring.
2021-12-12 08:38:56 +01:00
Vojtech Bubnik
f589dd7851 Added asserts to check for empty calls to glMultiDrawElements().
Some OpenGL drivers crash on empty glMultiDrawElements, see GH #7415.
2021-12-12 07:35:13 +01:00
Vojtech Bubnik
45038f2ccc Fix of PS 2.4.0 Beta 4: No image handler for type 15 defined. #7469
On Linux, image handlers need to be initialized before showing
any PNG.
2021-12-11 16:59:21 +01:00
Lukáš Hejl
3fd7a5a4b1 Fixed typo in GLGizmoPainterBase::get_projected_mouse_positions() after 7bb38840e1. 2021-12-10 22:37:53 +01:00
Vojtech Bubnik
121bb260db Fix of disabling thick bridges adds unnecessary support interfaces #7260
Improved numerical robustness when removing bridging perimeters from
overhangs to be supported.
2021-12-10 18:27:10 +01:00
YuSanka
080e80a4d6 Localization: Next improvements: CS, IT, ES, DE, ES, FR 2021-12-10 17:28:36 +01:00
YuSanka
14749d3c73 Code refactoring for ObjectList::get_selection_indexes().
Assert is changed to check if selection isn't empty.
Elsewhere processing of the empty selection can causes a crash.
2021-12-10 17:10:09 +01:00
Vojtech Bubnik
baee1671ef Fix of Bug in First Layer Expansion: Support material base layer intersects/overlaps with interface layer
First layer support expansion was only trimmed with contacts, not with
support interface layes (dense supports supporting contact layers).
2021-12-10 16:42:03 +01:00
Vojtech Bubnik
cad459c6ad Fix of "solid_infill_every_layers = 1" does not generate valid infill for some geometries #6736
With solid_infill_every_layers = 1 the new solid layer should be solid
infill not solid bridging infill. Once the layer is correctly classified
as solid with solid_infill_every_layers = 1, everything works as expected.
2021-12-10 16:42:03 +01:00
YuSanka
102ef9a024 Follow-up ea796aaa68
* Fixed builds for non-MSW platforms (We can't change the signature of the RichMessageDialog. It have to be completely the same as for wxRichMessageDialog)
* Texts of the message dialog are changed. Use InfoDialog instead of a RichMessageDialog.
* MsgDialog: Added SetButtonLabel() function
* InfoDialog: For constructor added is_marked_message and style parameter to allow to use marked text in the Dialog and set different style
2021-12-10 15:35:04 +01:00
enricoturri1966
1ba189b3a8 Follow-up of 450e430ca1b5169ab59d39a62cc84c4db3b0a8fa - Fixed wrong if() conditions into Plater::priv::reload_from_disk() 2021-12-10 14:36:28 +01:00
enricoturri1966
8df5202e74 #7429 - Fixes in reload from disk command 2021-12-10 14:36:28 +01:00
Vojtech Bubnik
26008adfa1 Trying to fix #7176:
Incorrect vertical size of a wxBitmapComboBox selecting presets
at the Persets page due to likely incorrect setting of a "rubbery"
scale factor of one of the box sizers.
2021-12-10 09:38:57 +01:00
Vojtech Bubnik
63a3971091 Windows specific: Fixes layout issues on plater, short BitmapComboBoxes
with some Windows scaling, see GH issue #7414.
The issue was most likely due to the initial main frame size
generated by Windows based on some unknown rule based on font scaling
and possibly display size and something else. If the initial window height
is short, then the last controls in a "rubbery" sizer are trimmed
and wxBitmapComboBoxes then remember the initial widget size indefinietly.
2021-12-10 09:34:28 +01:00
David Kocik
ea796aaa68 Changed message about copying another configuration folder.
Added headline to RitchTextDialog.
2021-12-09 18:46:36 +01:00
YuSanka
f1429f026c RichMessageDialog on non-MSW platforms: Set escape ID to wxID_CANCEL
+ Fixed behavior of the "Open hyperlink" dialog when "cross"(close window button) is clicked.
2021-12-09 16:00:12 +01:00
YuSanka
27883caa08 Follow-up b3074ad2cc
Change random values of the S and V in HSV colors.
To avoid generation of the extremely light or dark colors we use now generated values from the range [0.65; 0.1]
2021-12-09 14:16:47 +01:00
David Kocik
7880c20330 wider SLA material type in conf wizard 2021-12-09 11:43:49 +01:00
Vojtech Bubnik
f697ede19a The default SLA material speed was set to fast. 2021-12-08 16:56:05 +01:00
YuSanka
77e8429eae Fix for #7146 - Reset settings for spiral vase mode is inconsistent 2021-12-08 16:36:50 +01:00
Lukas Matena
06fd732b57 Fixed behaviour of float sliders in SLA gizmos,
which was broken after the 'Edit' button was added.
This is a bit hacky fix, it might be worth improving later.
2021-12-08 16:19:08 +01:00
Lukas Matena
e9b9c48cae Fixed rear seam option, which was not always respected,
the problem was originally introduced in b8c898b, recent
seam changes probably made it more visible
2021-12-08 16:18:54 +01:00
Lukáš Hejl
5b56adba59 Added a missing include (GCC11.1 without PCH). 2021-12-08 13:19:27 +01:00
Lukáš Hejl
66d11bd198 Changed OpenGL buffer type to GL_ELEMENT_ARRAY_BUFFER for vertex array indices in GLPaintContour. The previous type GL_ARRAY_BUFFER was used by mistake. 2021-12-08 11:23:35 +01:00
Vojtech Bubnik
981e249927 Follow-up to c9727b5a57
Fixed incorrect use of a boolean config value
2021-12-08 11:22:43 +01:00
Vojtech Bubnik
fe0d7691c1 Fixed incorrect case in include 2021-12-08 11:19:25 +01:00
YuSanka
3d23907056 Fix of the position of "PrusaSlicer: Open hyperlink" Dialog
More info https://github.com/prusa3d/PrusaSlicer/issues/7419#issuecomment-988231014
2021-12-08 10:40:47 +01:00
Vojtech Bubnik
c9727b5a57 Fix of Random placment of top fill throughout model #7442
For this particular model, ClipperLib numerical instability causes
one of the internal surfaces to turn into bridging surfaces
on reslicing. The issue was fixed by reverting to untyped slices if possible.
2021-12-08 09:45:59 +01:00
YuSanka
9cd1df97d6 Fixed #7446 - Removed 'support' label makes the terms in the support selector confusing. 2021-12-07 16:25:22 +01:00
YuSanka
488eb51282 Fix for InfoDialog, when Info about in-recognized loaded config values is shown.
Text in this dialog wasn't marked correctly.
2021-12-07 15:19:04 +01:00
YuSanka
1ff7214532 Fix for endless loop dialog - see https://github.com/prusa3d/PrusaSlicer/issues/7419#issuecomment-986325432
When part's configuration is updated =>
Don't call config_manipulation.update_print_fff_config() separately for applied object's config and then applied own config.
Configuration have to be applied from object config and its config. And than call config_manipulation.update_print_fff_config().

+ Redundant call of the update_config_values() is deleted from DeleteButton event. All checks are made during update_settings_list().
2021-12-07 14:40:52 +01:00
Vojtech Bubnik
7f0fcd1354 Fix of infill_only_where_needed for complex objects:
When propagating overhangs to be supported, the regions are newly
properly merged and regularized.

Fix of Stuck at "preparing infill" with "only infill where needed" enabled 1.41.2 #1696
"Only infill where needed" makes slicer crash for some models #6385
[BUG] Slicing stuck for 14h now, 0.8 NZL Ender 5+ Gyroid infill only where need
2021-12-07 13:15:33 +01:00
YuSanka
940690ecdb Follow-up d8ecc191da - Remove from code a condition which has opposite effect effect now.
+ OptionsGroup::activate_line():Add same as at OG_CustomCtrl::CtrlLine::render() condition for the drawing of a option label.
It means that we draw option labels only, if line has more than one option.
2021-12-07 10:55:27 +01:00
YuSanka
d8ecc191da Added a check that first layer height is not expressed as a percentage (related to https://github.com/prusa3d/PrusaSlicer/issues/7418)
first_layer_height cannot be changed to ConfigOptionFloat, that would break loading of old 3MFs.
The relative values from 3MFs should already be converted to absolute in `Preset::normalize`, what is missing is the UI check.

+ Code refactoring for OptionsGroup::create_single_option_line():
Don't clear label value in an Option. This value is used in Field::get_value_by_opt_type() to show error "%s doesn't support percentage".
=> At functions OG_CustomCtrl::CtrlLine::render() and OG_CustomCtrl::CtrlLine::get_pos() added check if current line has more than one option.
=> Draw option's label only when line has several options.
2021-12-07 09:20:36 +01:00
David Kocik
091585076c Followup on 6490456ec4
Rename variable
2021-12-06 17:24:54 +01:00
David Kocik
6490456ec4 Do not perform config check if conf folder is redefined 2021-12-06 17:15:22 +01:00
enricoturri1966
00c86b2b7f Follow-up of 2ed57d1ba5 - Removed unneeded sort 2021-12-06 14:25:17 +01:00
Vojtech Bubnik
2ed57d1ba5 Further optimization of G-code viewer: Replaced std::set<RenderPaths>
with std::vector.
2021-12-06 13:21:34 +01:00
Vojtech Bubnik
c37090a64d Optimization of G-code rendering, may improve speed issues mentioned in #7415 2021-12-06 11:52:27 +01:00
Vojtech Bubnik
68d5a47121 Caching of shader program attribute and uniform IDs from strings. 2021-12-06 11:52:27 +01:00
YuSanka
a952fbc31a Allow a "Dark mode" in Preferences for G-code viewer 2021-12-06 11:44:29 +01:00
YuSanka
f5dc746e94 Fix for #7419 - Non-modal settings window loses focus after accepting dialog (MSW specific issue)
MessageDialog is used instead of wxMessageDialog on MSW for supporting of the Light/Dark color mode.
But a constructor of the MsgDialog replaces a parent which is equal to nullptr with the MainFrame .
That is why non-modal dialog with Preset Settings loses a focus after close of the MessageDialog.

"m_msg_dlg_parent" is added to ConfigManipulation class. ConfigManipulation's instance owed by Tab will use the Tab as a parent for MessageDialogs.
=> The MessageDialog with information about configuration incompatibility will always appear over related SettingsTab
and a non-modal dialog with Preset Settings will not lose the focus.
2021-12-06 11:44:29 +01:00
enricoturri1966
c7a4f61238 #7415 - GCodeViewer::refresh_render_paths() - Remove empty render paths to avoid calling glMultiDrawElements() with empty data while rendering toolpaths. 2021-12-06 11:39:10 +01:00
Vojtech Bubnik
d4d558ebee Fix of GCodeViewer crashes when opening app preferences #7430 2021-12-06 08:23:19 +01:00
Vojtech Bubnik
bfce4f6901 Follow-up to 3622f06bed
Work around 3D scene focus after de-activation of the main
window without having to resort to CallAfter(), which breaks
on Linux with some window managers that follow mouser cursor.
Fixes #5620 #6870 #6992

3622f06bed was not a correct solution,
it broke focus for non-modal windows.
Fixes #7419

The actual issue seems to be caused by wxProgressDialog not playing
well with modal dialogs closed just before wxProgressDialog opens.
If wxProgressDialog parent was not a main frame, keyboard focus
was not restored correctly after the wxProgressDialog closed.
2021-12-05 09:09:34 +01:00
Vojtech Bubnik
d44525d916 Fix of Upload and simulate wrong label (Issue #7424) 2021-12-05 08:45:31 +01:00
YuSanka
8a2c15ad60 Fix for #7408 - Crash after closing error for deleting box shape with cylinder negative volume 2021-12-04 10:05:14 +01:00
bubnikv
6122f630d4 Fixing broken scrolling with a touch pad on some Windows laptops.
This issue #2750 is old, it was fixed and broken again.
Now it is being fixed differently.
2021-12-04 09:37:09 +01:00
YuSanka
fdc4ee7542 Suppress to use info line "Post processing scripts shall..." on Linux.
Otherwise click on this line causes a strange frizz of the settings page.
And line hovering by the mouse has no visual effect on Linux.
(Neither wxEVT_ENTER_WINDOW nor wxEVT_LEAVE_WINDOW isn't catch by wxStaticText for some reason)

+ Call of the SetToolTip() moved from constructor to wxEVT_ENTER_WINDOW. In this case Tooltip text will always respect to the "suppress_hyperlinks" value.
2021-12-03 16:47:31 +01:00
bubnikv
3622f06bed Trying to work around 3D scene focus after de-activation of the main
window without having to resort to CallAfter(), which breaks
on Linux with some window managers that follow mouser cursor.
May fix #5620 #6870 #6992
2021-12-03 16:20:01 +01:00
YuSanka
f14a5f40b3 Localization.
* --boost option is added to gettext_make_pot script to recognize Boost format strings.
* New script gettext_merge_po_with_pot is added to merging new lines from POT to current PO
* --check-format option is added to gettext_po_to_mo script to check language dependent format strings during generation MO from PO.
* POT is updated and all PO files are merged with it. So, community can just load needed PO file and continue in translation.
* ExtruderSequenceDialog: Added messed localization markers
2021-12-03 16:19:09 +01:00
Lukáš Hejl
36b014a8dd Fixed a bug in the precomputation of the data for bucket fill that was triggering assert in TriangleSelector::neighbor_child(). 2021-12-03 14:06:53 +01:00
David Kocik
60b8a8245c Deleted unused function in Octoprint 2021-12-03 09:47:56 +01:00
tamasmeszaros
08e3e60a5f Fix CGAL build with major version > 4 on Linux
fixes #7341

CGAL upstream CMake config will lock in the major version if installed as a distro package and will not provide any version info if compiled and installed from upstream. As of this commit, PrusaSlicer can be built with CGAL 4.13.2, and 5.0 but there is no universal way to specify the minimum version that would work with static dependencies and linux packages.

sorry #4912
2021-12-03 09:46:07 +01:00
Vojtech Bubnik
7837070d29 Follow-up to c6de3e84eb
Fixed typos in option labels.
2021-12-03 09:40:00 +01:00
YuSanka
def5bd6797 Follow-up to 7272b2b083
Comment is extended
2021-12-03 09:39:37 +01:00
Vojtech Bubnik
50da39d30b Windows specific: Only start the 3rd party updater application
if enabled in PrusaSlicer preferences.
2021-12-03 09:26:44 +01:00
Vojtech Bubnik
45d9e6bddd Follow-up to 7828964f8c
Fixed no way of leaving the "export G-code" dialog loop.
Improved the error message by explaining that some characters
are not allowed by a FAT file system.
2021-12-03 09:05:14 +01:00
Vojtech Bubnik
4d1ce89c22 Follow-up to f4dfbb69e2
Now that libcurl is used for URL host substitution,
we want to make sure that the new code compiles on Windows only
because that is where we need to do the URL host substitution
due to Windows 10/11 mDNS resolve issues and
because we have a control on the libcurl version statically linked
on Windows, so we are sure the URL API is available.
2021-12-03 08:12:47 +01:00
Vojtech Bubnik
f4dfbb69e2 Replaced the code to substitute host address part in URL
with libcurl library calls. This solution should be more robust
than a homebrew URL parser solution.
2021-12-03 08:02:16 +01:00
Lukáš Hejl
f88d678a4a Added a missing include (GCC11.1 without PCH). 2021-12-02 21:04:55 +01:00
Vojtech Bubnik
26a6cb2129 Fixed ironing over areas with modifier meshes:
1) Areas inside modifier meshes were ironed multiple times.
2) Ironing areas were not properly merged.

Layer::lslices were not always properly merged with modifier meshes
applied, which lead to the ironed surface being split and not fully
ironed, as there were artificial gaps created between regions as if
they were covered by perimeters (we don't iron over perimeters).
2021-12-02 18:19:35 +01:00
YuSanka
7272b2b083 Fix for #7207 - Display of object labels does not match with the "View"-menu, if "Complete individual objects" is used 2021-12-02 17:08:03 +01:00