Commit Graph

17715 Commits

Author SHA1 Message Date
enricoturri1966
cd4094743e Tech ENABLE_COLOR_CLASSES - 1st installment -> Introduction of classes ColorRGB and ColorRGBA to unify color data definition and manipulation 2021-12-22 10:45:35 +01:00
enricoturri1966
48098fbaff Merge branch 'dev' of https://github.com/prusa3d/PrusaSlicer into et_color_class 2021-12-15 15:30:34 +01:00
enricoturri1966
c30f5823f5 Refactoring of GLShaderProgram::set_uniform() methods 2021-12-15 14:55:21 +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
caff954aa7 Localization: Update for NL dictionary.
+ Missed "Did you know..." phrases are added to POT and merged with some PO files
2021-12-14 16:34:56 +01:00
YuSanka
74cf1ed0f9 MsgDialog: Fixed text color under non-MSW platforms 2021-12-14 16:34:56 +01:00
Lukas Matena
7f9e519baf Merge branch 'master' into dev 2021-12-14 15:10:42 +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
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
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
rtyr
e745ef095f
Updated for the PrusaSlicer 2.4.0-rc release. 2021-12-14 14:41:25 +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
0538363b2b Updated sha256 value for wxWidgets 2021-12-14 12:06:08 +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
tamasmeszaros
35345d9fe0 Merge branch 'tm_tbb_find' 2021-12-14 10:49:05 +01:00
tamasmeszaros
08f88f09da Fix error in previous commit 2021-12-13 17:11:17 +01:00
YuSanka
dc3da0b626 Fix for crash from #7486 - PrusaSlicer crashes when doing this commands 2021-12-13 16:19:58 +01:00
tamasmeszaros
914f170a98 Use TBB config scripts to find the library if using dynamic libraries.
fixes #7470
fixes #6355 ?
2021-12-13 15:53:24 +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
3b1f6d33cc Updating wxWidgets SHA due to
"Fixed HiDPI scaling issue of dark moded spin control buttons"
2052db1e5d
2021-12-12 06:26:15 +01:00
rtyr
0255ff2fd6
Bumped up version to 0.1.1 2021-12-11 21:01:34 +01:00
rtyr
cc2c2235e5
Delete ENDER2PRO_thumbnail(NONBETA).png 2021-12-11 20:57:06 +01:00
rtyr
5d8a2fac71
Merge pull request #7417 from spuder/ender2-pro
Add ender 2 pro
2021-12-11 20:56:09 +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
Vojtech Bubnik
f033a79a2a Bumped up version number. 2021-12-11 10:28:20 +01:00
Spencer Owen
2bba01f482 Merge branch 'master' into ender2-pro 2021-12-10 17:08:17 -07:00
Lukáš Hejl
3fd7a5a4b1 Fixed typo in GLGizmoPainterBase::get_projected_mouse_positions() after 7bb38840e1. 2021-12-10 22:37:53 +01:00
rtyr
c3f144c7ea
Ender2 Pro resources 2021-12-10 18:42:39 +01:00