Commit Graph

380 Commits

Author SHA1 Message Date
Enrico Turri
5572e05356 Added temporary debug output 2020-03-02 15:22:41 +01:00
Enrico Turri
5407256c73 Fixed conflicts after merge with master 2020-03-02 11:35:03 +01:00
Enrico Turri
f61f6a98a5 GLCanvas3DManager moved from being a static member of _3DScene to be a normal member of GUI_App 2020-03-02 10:58:46 +01:00
bubnikv
e103034870 Updated printer profiles, bumped up version to 2.2.0-rc. 2020-02-29 10:53:18 +01:00
Lukas Matena
cbe780671a Fix of dark mode detection on macOS 10.12 and 10.13 2020-02-28 15:28:04 +01:00
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
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
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
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
YuSanka
fe18940d37 Localization: New POT 2020-02-19 13:21:31 +01:00
David Kocik
7b45da5811 configuration updater
forced update dialog
check for updates button
check address when downloading bundles
2020-02-04 15:27:11 +01:00
bubnikv
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
David Kocik
51ee282b83 Merge branch 'master' into dk_remote_devices 2019-12-19 08:58:11 +01:00
YuSanka
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
David Kocik
9861e38dea eject button after export 2019-12-13 13:51:46 +01:00
David Kocik
b238399d9f linux eject 2019-12-13 13:51:46 +01:00
David Kocik
727a0a0179 eject button functionality 2019-12-13 13:51:46 +01:00
David Kocik
c63351a19e eject button functionality 2019-12-13 13:51:46 +01:00
David Kocik
81b8646a6d init call 2019-12-13 13:51:45 +01:00
David Kocik
5b29d727a9 windows registration for device notif(thru hidden app) - windows doesnt need update now 2019-12-13 13:51:45 +01:00
David Kocik
e10ae44932 last save path 2019-12-13 13:51:45 +01:00
David Kocik
f00a0f98c7 last path functions 2019-12-13 13:51:45 +01:00
David Kocik
1850952dfb linux eject 2019-12-13 13:51:45 +01:00
David Kocik
9c3a84c0f7 refactoring 2019-12-13 13:51:45 +01:00
David Kocik
994b2d16eb rdm update every 2 seconds 2019-12-13 13:51:45 +01:00
YuSanka
2934b79d06 Fixed crash on ConfigWizard opening after a language change
+ updated Creality.ini and PrusaResearch.ini
2019-12-09 13:02:48 +01:00
bubnikv
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
bubnikv
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
Enrico Turri
15d49bbe9b Fixes into ENABLE_THUMBNAIL_GENERATOR_DEBUG 2019-12-03 12:44:20 +01:00
Enrico Turri
837b9b7ccc ENABLE_THUMBNAIL_GENERATOR -> ENABLE_THUMBNAIL_GENERATOR_PNG_TO_GCODE set as default 2019-11-25 10:30:31 +01:00
Vojtech Kral
73184864bb Fix: Rename DPI changed event to not clash with impl in wxwidgets 2019-11-11 17:10:29 +01:00
Enrico Turri
78112ac665 #3175 - Fixed compatibility with boost v 1.71 2019-11-11 11:21:08 +01:00
Enrico Turri
3141fe5e73 ENABLE_THUMBNAIL_GENERATOR -> Added ENABLE_THUMBNAIL_GENERATOR_DEBUG (disabled) 2019-11-07 09:01:28 +01:00
Enrico Turri
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
Enrico Turri
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
Enrico Turri
2c63b66c1d ENABLE_THUMBNAIL_GENERATOR -> Added missing include 2019-10-25 14:32:31 +02:00
Enrico Turri
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
Vojtech Kral
b5f1f6ea2f Merge branch 'master' into materials 2019-09-30 16:12:48 +02:00
Lukas Matena
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
Vojtech Kral
340263933a WIP: ConfigWizard: 3rd party bundle installation roughly done 2019-09-17 13:20:06 +02:00
Vojtech Kral
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
Lukas Matena
676f72359b Merge branch 'master' into dev 2019-09-04 15:50:18 +02:00
bubnikv
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
YuSanka
0a9c1702b4 Fixed couple of warnings in Field.cpp, GUI_App.cpp and OptionsGroup.cpp 2019-09-03 10:59:04 +02:00
YuSanka
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
bubnikv
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
bubnikv
69af9571d4 Updated the initial language detection to provided some logging. 2019-08-30 10:20:38 +02:00
bubnikv
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
bubnikv
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
bubnikv
8e37a7e169 std::make_unique is not supported by our build servers.
use Slic3r::make_unique instead
2019-08-29 14:51:24 +02:00