Commit Graph

475 Commits

Author SHA1 Message Date
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
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
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
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
fe18940d37 Localization: New POT 2020-02-19 13:21:31 +01:00
7b45da5811 configuration updater
forced update dialog
check for updates button
check address when downloading bundles
2020-02-04 15:27:11 +01:00
6bf2a2a339 Forcing a print bed update after config or config bundle is loaded.
The solution is hackish, but a major refactoring would be needed
to avoid multiple refreshes of the print bed, and to avoid
expensive checks at Plater::on_config_change() every time
a config value changes at a parameter tab.
2020-01-24 15:16:36 +01:00
51ee282b83 Merge branch 'master' into dk_remote_devices 2019-12-19 08:58:11 +01:00
6bb0d1f72a Implemented function to get an icon name considering to OS color mode
For a Dark mode we start to looking of icons in folder "white"

Added missed "white" icons
2019-12-18 15:54:01 +01:00
9861e38dea eject button after export 2019-12-13 13:51:46 +01:00
b238399d9f linux eject 2019-12-13 13:51:46 +01:00
727a0a0179 eject button functionality 2019-12-13 13:51:46 +01:00
c63351a19e eject button functionality 2019-12-13 13:51:46 +01:00
81b8646a6d init call 2019-12-13 13:51:45 +01:00
5b29d727a9 windows registration for device notif(thru hidden app) - windows doesnt need update now 2019-12-13 13:51:45 +01:00
e10ae44932 last save path 2019-12-13 13:51:45 +01:00
f00a0f98c7 last path functions 2019-12-13 13:51:45 +01:00
1850952dfb linux eject 2019-12-13 13:51:45 +01:00
9c3a84c0f7 refactoring 2019-12-13 13:51:45 +01:00
994b2d16eb rdm update every 2 seconds 2019-12-13 13:51:45 +01:00
2934b79d06 Fixed crash on ConfigWizard opening after a language change
+ updated Creality.ini and PrusaResearch.ini
2019-12-09 13:02:48 +01:00
315b283cb8 Fix of an application update situation, where the profiles were
not updated correctly if the index installed in vendor directory
was the same as the one provided with the applicaton installation.
2019-12-05 11:05:18 +01:00
484e3f9df9 Profiles for the alpha are stored into the PrusaSlicer-alpha directory
to not mix with the current release.
2019-12-04 14:02:49 +01:00
15d49bbe9b Fixes into ENABLE_THUMBNAIL_GENERATOR_DEBUG 2019-12-03 12:44:20 +01:00
837b9b7ccc ENABLE_THUMBNAIL_GENERATOR -> ENABLE_THUMBNAIL_GENERATOR_PNG_TO_GCODE set as default 2019-11-25 10:30:31 +01:00
73184864bb Fix: Rename DPI changed event to not clash with impl in wxwidgets 2019-11-11 17:10:29 +01:00
78112ac665 #3175 - Fixed compatibility with boost v 1.71 2019-11-11 11:21:08 +01:00
3141fe5e73 ENABLE_THUMBNAIL_GENERATOR -> Added ENABLE_THUMBNAIL_GENERATOR_DEBUG (disabled) 2019-11-07 09:01:28 +01:00
b8d4de6578 ENABLE_THUMBNAIL_GENERATOR -> Export thumbnails to gcode as png data in lines with max 80 characters length 2019-11-04 15:38:15 +01:00
9d5fe8eb36 ENABLE_THUMBNAIL_GENERATOR -> Export thumbnails to gcode: max length of gcode lines set to 80 characters 2019-11-04 14:00:26 +01:00
2c63b66c1d ENABLE_THUMBNAIL_GENERATOR -> Added missing include 2019-10-25 14:32:31 +02:00
6a1d44ff29 ENABLE_THUMBNAIL_GENERATOR -> Thumbnail data saved into gcode using base64 encoding + debug code to extract thumbnails from gcode 2019-10-25 12:18:10 +02:00
b5f1f6ea2f Merge branch 'master' into materials 2019-09-30 16:12:48 +02:00
a34a1341c5 Whitespace changes to supress misleading indentation warnings
These appear in newer gcc when spaces and tabs are mixed
2019-09-24 16:01:01 +02:00
340263933a WIP: ConfigWizard: 3rd party bundle installation roughly done 2019-09-17 13:20:06 +02:00
4ff970ac6e Move ConfigWizard instance in GUI_App, lazy-initialized,
add filament/material installation item in Sidebar combo boxes
2019-09-17 13:20:06 +02:00
676f72359b Merge branch 'master' into dev 2019-09-04 15:50:18 +02:00
4ae6bfeec0 Updated the bundled Prusa Research profiles.
Bumped up the version number to 2.0.0-rc.
Changed the location of profiles from PrusaSlicer-beta to PrusaSlicer
(that is the location for the released software).
2019-09-04 12:50:43 +02:00
0a9c1702b4 Fixed couple of warnings in Field.cpp, GUI_App.cpp and OptionsGroup.cpp 2019-09-03 10:59:04 +02:00
45f36ce1b7 Code clean in Tab.cpp and Fixed couple of Mac-warnings in :
GUI.cpp
GUI_App.cpp
GUI_ObjectList.cpp
MainFrame.hpp
Plater.cpp
PresetBundle.cpp
PresetHints.cpp
Tab.cpp
Tab.hpp
wxExtensions.cpp
wxExtensions.hpp
2019-09-03 10:29:17 +02:00
7039fcfe33 Fix for wxWidgets issue, where the FindLanguageInfo() returns locales
with undefined ANSII code (wxLANGUAGE_KONKANI or wxLANGUAGE_MANIPURI).
2019-08-30 14:13:47 +02:00
69af9571d4 Updated the initial language detection to provided some logging. 2019-08-30 10:20:38 +02:00
dd4e1ecd78 Fix of 2.1.0-beta2 Linux AppImage - OpenGL detection fails #2844
The OpenGL check was moved to GLCanvas3DManager init function,
where the OpenGL context is active at the 1st render event.
2019-08-30 09:19:45 +02:00
eb5e55ff93 Improvement of selection of language / dictionaries.
When switching the languages, if the newly selected dictionary
is "compatible" with the system best language or user's locale,
then the system best language locale or user's locale is activated,
not the locale connected to the dictionary.
2019-08-29 15:35:28 +02:00
8e37a7e169 std::make_unique is not supported by our build servers.
use Slic3r::make_unique instead
2019-08-29 14:51:24 +02:00
ef2354f0e4 Reworked selection of locales and translation dictionaries.
Slicer now tries to heed user's locales, also it tries to switch
to the language recommended by the operating system (Windows & OSX
specific).
2019-08-29 14:07:45 +02:00
1c0bd22736 Don't delete old locales when switching language. It crashes for
an unknown reason.
2019-08-28 13:23:58 +02:00
60e9c68600 Slovaks understand Czech well. Give them the Czech translation. 2019-08-28 11:59:30 +02:00
30d138c9e1 Reworked switching of the language:
1) Language is
2019-08-28 11:53:53 +02:00
cf93ee09d2 Refactor a few more catch(...) instances 2019-08-27 10:37:34 +02:00