Commit Graph

12334 Commits

Author SHA1 Message Date
bubnikv
ba18e18082 Various changes in handling of profile compatiblilities
and the "show incompatible profiles" option.

It was not able to select the incompatible Print profile, which is
possible now.
(see Cannot select incompatible printer profile #3715)

When the Printer profile derived from the Prusa3D system profile was
active or a system Prusa3D profile was active, and when the Print profile
with the removed "inherits" field was active (or any other profile
derived from the "-- default --" profile was active), then the filament
selector offered just the profiles with the removed "inherits" field
(or any other profile derived from the "-- default--") profile.
This behavior has been now changed, so that in this scenario the Filament selector
will offer the Prusa3D vendor profiles compatible with the active Print
and Printer profile as well as the user profiles.

Slicer was also changed to keep an incompatible preset selected
at its respective tab if its respective "Red flag" is enabled.
For example, if an incompatible Print preset is selected and a Printer
profile is switched to another one which is not compatible with the active
Print preset that was red already, the active Print preset is
not switched if the Print "Red flag" is active. However, if the Print profile
was compatible before the Printer profile is switched and now the Print
profile becomes incompatible, another compatible Print profile is selected.

A likely bug in wxWidgets was worked around when switching a Print preset
on Plater, if the last item in the Print preset was active and incompatible,
and another Print preset was selected by the user. On Windows, an CBN_EDITCHANGE
is sent just after combo box selection change event and the CBN_EDITCHANGE
holds an index of the combo box item, which will be removed by the 1st event,
therefore leading to an assert in wxWidgets on CBN_EDITCHANGE. The workaround
is to disable processing of CBN_EDITCHANGE on Windows for the Plater
preset selection combo boxes.
2020-02-27 11:44:12 +01:00
David Kocik
bd97f5ca32 Merge branch 'dk_copy_file' 2020-02-27 10:45:46 +01:00
David Kocik
feaf2f1c5e copy file result enum 2020-02-27 10:44:25 +01:00
David Kocik
dc1ee08679 Merge branch 'dk_remote_devices' 2020-02-26 15:04:36 +01:00
David Kocik
7ba1a87ab3 eject sd card/usb icon 2020-02-26 15:02:43 +01:00
bubnikv
3f743fe62e new hollowing icon 2020-02-26 15:00:23 +01:00
Enrico Turri
472c065688 #3707 - Fixed buttons layout after closing preference dialog 2020-02-26 10:18:04 +01:00
Enrico Turri
77765b9fe1 Fixed reload from disk for modifiers 2020-02-26 08:56:05 +01:00
Lukas Matena
982004b71b Fix of #3695
Ternary operator is given wxString and std::string, which does not work when implicit conversions between std::string and wxString are disabled
2020-02-25 15:53:01 +01:00
Lukas Matena
8885027264 Enabled text-wrapping for tooltips in hollowing gizmo 2020-02-25 11:12:04 +01:00
Lukas Matena
2991363f63 Fixup of previous commit - actually added the translation macros 2020-02-24 15:24:12 +01:00
bubnikv
6be77689ad Generalization of translate() / translate_utf8() to wxString arguments. 2020-02-24 15:23:43 +01:00
Lukas Matena
c38203474d Added a missing localization L mark 2020-02-24 14:54:44 +01:00
Lukas Matena
7df9c375e1 Several translation-related fixes
ConfigWizard name was missing translation macro in several places
Few typos corrected
Some string conversions fixed
Two strings were not marked for translation
2020-02-24 11:00:48 +01:00
bubnikv
7539423da4 Fixed crash on reading profiles with the "thumbnails" settings different
from the parent profile.
2020-02-24 10:41:20 +01:00
bubnikv
b2055a63b5 Bumped up version to 2.2.0-beta
Changed the profile directory from PrusaSlicer-alpha to PrusaSlicer-beta
2020-02-21 18:44:53 +01:00
bubnikv
88edcbbaad Updated bundled profiles. 2020-02-21 18:43:26 +01:00
bubnikv
36cef27804 Fix of a regression from e0811e4aa5
Due to refactoring of G-code export some "don't care" extrusions
were not extruded at all.
2020-02-21 18:18:17 +01:00
YuSanka
f1ccaa1efe Localization: Deleted context "markers" from PO files, updated MO files 2020-02-21 17:56:32 +01:00
YuSanka
329f9011c6 Localization: New dictionaries for CZ, DE, ES, FR, IT, NL and PL 2020-02-21 14:36:12 +01:00
Lukas Matena
c0031da893 Hollowing gizmo sliders now contain a unit where appropriate 2020-02-21 14:24:50 +01:00
Lukas Matena
66b681878c Fixed a bug in hollowing gizmo - hole depth not matching slider value after selection 2020-02-21 14:23:50 +01:00
bubnikv
c5cb85c20a GUI::show_error() is now generalized for std::string and const char*
Fixed return type of std::string translate_utf8() with context
(incorrectly returned wxString, should return std::string).
Fixed double translation of BackgroundSlicingProcess::validate() in Plater.
2020-02-21 13:38:06 +01:00
Lukas Matena
c3121c33f6 Merge branch 'lm_bnavigator-fix-wxtypes'
Contains encoding fixes. Uncovered after disabling unsafe wxString conversions in wxWidgets.
2020-02-21 12:55:58 +01:00
Lukas Matena
efce2e8bff One more encoding problem
Uncovered after rebasing onto current master
2020-02-21 12:53:51 +01:00
Lukas Matena
1af43f7b9c Fixed few more encoding issues
All uncovered after disabling unsafe wxString conversions
2020-02-21 12:53:51 +01:00
Benjamin Greiner
9c6ca5aed2 fix #3402
Amended by lukasmatena: changed mb_str() to ToUTF8()
2020-02-21 12:53:51 +01:00
Lukas Matena
83bf75f72c Hopefully a fix for #3683 (encoding in hollowing gizmo) 2020-02-21 12:53:28 +01:00
bubnikv
5240f45ce6 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-02-21 12:18:57 +01:00
bubnikv
7f663ac8c9 ImGUI input_double wrapper for wxString label.
Possible fix of Fix encoding in Hollowing #3683
2020-02-21 12:17:46 +01:00
David Kocik
cedb806062 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-02-21 11:18:09 +01:00
David Kocik
752ce53d60 refactoring of errors at copying g-code to target destination 2020-02-21 11:17:48 +01:00
bubnikv
8ff7e1718c Fix of Bug: Changing print settings resets filament settings #3675
When switching a Print profile, the modifications of an active Filament
profile were incorrecly dropped even if the active Filament profile
was compatible with the newly selected Print profile.
2020-02-21 11:03:03 +01:00
Lukas Matena
915d73ab02 Fix of wipe into object
The bug was introduced in 15eedef. lower_bound_by_predicate implementation returns first item that does not satisfy the predicate, not last item that does.
2020-02-21 10:05:33 +01:00
Lukas Matena
4d2f77dc5f Fixed typo in an error message 2020-02-21 10:05:03 +01:00
Lukas Matena
eb7f4397ae Fixed two cases of crashes on application close
Both related to ObjectList - it was attempting to call plater after it was destroyed
Approved by @YuSanka
2020-02-21 10:02:41 +01:00
Lukas Matena
f60bd1f700 Merge branch 'lm_gizmos_aabb_calculation_rebased' (SLA gizmos polishing) 2020-02-21 09:49:39 +01:00
Lukas Matena
684e9892c3 Make sure that objects are correctly shown/hidden when switched 2020-02-21 09:46:40 +01:00
Lukas Matena
c0a16d5d5c SLA gizmo clipping plane resetting
Clipping plane direction is now initialized when the plane is first moved, not when the gizmo is opened. This is how previous versions worked.
This is a minimal-effort solution before the clipping plane is refactored properly.
2020-02-21 09:46:40 +01:00
Lukas Matena
01ba32595a AABB trees for SLA gizmos are not calculated when the object is selected, but only after one of the gizmos is opened 2020-02-21 09:46:40 +01:00
YuSanka
422e7e818e Implemented time estimation for PausePrint (#3544)
DoubleSlider: fixed get_color_for_color_change_tick()
2020-02-20 17:33:43 +01:00
Lukas Matena
13facf4da5 SLA support gizmo correctly hides drain holes if they are clipped by clipping plane 2020-02-20 15:04:53 +01:00
YuSanka
abd6d840ed Linux issue: fixed Object's DnD with sub items 2020-02-20 14:19:00 +01:00
David Kocik
3240b86853 Merge branch 'dk_copy_file' 2020-02-20 10:37:09 +01:00
David Kocik
266ba38614 bug fix at check_copy() while exporting to sd/usb 2020-02-20 10:35:53 +01:00
YuSanka
24c68166f3 Localization: small changes in POT 2020-02-19 13:54:56 +01:00
tamasmeszaros
72f1437e97 Fix English tooltip and label for elefant_foot_min_width 2020-02-19 13:48:10 +01:00
YuSanka
fe18940d37 Localization: New POT 2020-02-19 13:21:31 +01:00
bubnikv
3ba2e13d04 Follow up on 6deb6a776d:
Fixed orientation of contours after Elephant Foot Compensation.
2020-02-19 12:58:03 +01:00
YuSanka
cfc0192cb2 Added a shortcut to the tooltip for a "Send to printer" button (related to #3667)
+ Localization: fixed some phrases
2020-02-19 10:59:05 +01:00