10196 Commits

Author SHA1 Message Date
Filip Sykala
57e7e9a04e Merge branch 'dev' into fs_mouse 2021-12-17 09:23:25 +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 acee3ff1f98ddff7c3a97a72f97fa20c88b4440d
Fixed crash when changing modifier type on a circular printbed
2021-12-16 17:50:36 +01:00
Filip Sykala
553102c4ee Fix reselect in flattening 2021-12-16 15:57:32 +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
Filip Sykala
9a9c8213cb Fix update order 2021-12-16 12:33:26 +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 7ff76d07684858fd937ef2f5d863f105a10f798e. 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
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
Filip Sykala
d08e6d8c1b fix update data 2021-12-15 14:26:31 +01:00
Filip Sykala
9e88eb09b5 add VS filter by subdir 2021-12-15 14:22:27 +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
Filip Sykala
df4a95695b Merge branch 'fs_mouse' of https://github.com/prusa3d/PrusaSlicer into fs_mouse
# Conflicts:
#	src/slic3r/GUI/GLCanvas3D.cpp
2021-12-14 17:50:46 +01:00
Filip Sykala
b900a8109b fix warn from switch 2021-12-14 17:49:46 +01:00
Lukas Matena
1216e593f0 Added a missing forward declaration, fixed some warnings 2021-12-14 17:08:56 +01:00
YuSanka
74cf1ed0f9 MsgDialog: Fixed text color under non-MSW platforms 2021-12-14 16:34:56 +01:00
Lukas Matena
2d72426971 Merge branch 'dev' into fs_mouse 2021-12-14 15:10:57 +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
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
Filip Sykala
03d0e36f2f Merge branch 'dev' into fs_mouse
# Conflicts:
#	src/slic3r/GUI/Gizmos/GLGizmoBase.cpp
#	src/slic3r/GUI/Gizmos/GLGizmoBase.hpp
#	src/slic3r/GUI/Gizmos/GLGizmoPainterBase.hpp
#	src/slic3r/GUI/Gizmos/GLGizmoRotate.cpp
#	src/slic3r/GUI/Gizmos/GLGizmoRotate.hpp
2021-12-14 11:13:42 +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
enricoturri1966
296041da38 #7464 - Fixed 'Export as .stl' scaling not applied on scaled object instances 2021-12-14 10:21:31 +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
Filip Sykala
291a21445c Fix do not render fot picking druring dragging 2021-12-13 10:49:16 +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