Commit Graph

9314 Commits

Author SHA1 Message Date
enricoturri1966
1ee8180650 Fixed crash when changing modifier type on a circular printbed 2021-12-16 14:01:44 +01:00
enricoturri1966
3603268955 Fixed call to take_snapshot() in ObjectList::load_subobject() 2021-12-16 12:03:11 +01:00
Lukáš Hejl
410cad6f08 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
7993cad1bc 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 7ff76d0768. When it is called expand on CW polygons (holes), they shrunk instead of expanded.
2021-12-16 08:56:29 +01:00
Vojtech Bubnik
dddc89d529 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
84b989aeb7 UpdateDialogs: Fixed an alignment inside a GridSizer, when "Open changelog page" is added. 2021-12-15 15:58:18 +01:00
Vojtech Bubnik
b69c30a15d Fixed previous commit 2021-12-15 14:52:01 +01:00
Vojtech Bubnik
d09f187ab0 If taking configuration snapshot before importing newer configuration fails,
offer to stop importing configuration.
2021-12-15 14:27:25 +01:00
Vojtech Bubnik
97a7dd975c 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
303cf8c38f Fix for #7496 - Dark-mode selection highlight 2021-12-15 13:24:40 +01:00
Vojtech Bubnik
9775775f2d 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
e3c9b6d9bf Fixing previous commit on AppConfig and loading newer configuration. 2021-12-15 11:22:44 +01:00
Vojtech Bubnik
537169b4d4 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
de78d62d44 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
f89a5ddc9a Bugfix: Loading of AppConfig from an alternate locations. 2021-12-15 10:30:22 +01:00
YuSanka
e62a78fc43 Initialize fonts before first UI action 2021-12-15 09:50:19 +01:00
YuSanka
702d727ed9 Revert of the 8b3e413633, which was caused the issue #7498 2021-12-15 09:03:38 +01:00
YuSanka
a10824efd8 MsgDialog: Fixed text color under non-MSW platforms 2021-12-14 16:34:56 +01:00
Vojtech Bubnik
1b358b05ad Bumped up version to release candidate,
changed the configuration directory from beta to final.
2021-12-14 14:49:32 +01:00
YuSanka
63bc64d8cf 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
Lukáš Hejl
ff20d1e46d 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
370b220643 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
c241a7b92c #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
0a375fcab2 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
987f229153 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
YuSanka
9a3150b628 Fix for crash from #7486 - PrusaSlicer crashes when doing this commands 2021-12-13 16:19:58 +01:00
David Kocik
49b480ded4 Double ampersand in text 2021-12-13 13:39:24 +01:00
enricoturri1966
90ba5da99a 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
605a3c7e49 Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer 2021-12-13 11:18:55 +01:00
Vojtech Bubnik
05980e8249 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
f5a9e90734 Always use batched models to render options in preview 2021-12-13 09:50:13 +01:00
YuSanka
83f79111c1 Fix for #7481 - Found typo in BitmapComboBox.cpp L257: _MSW_DAEK_MODE 2021-12-13 09:27:35 +01:00
Vojtech Bubnik
d4651bdc50 Fixed minor typo in wording. 2021-12-12 14:44:12 +01:00
Vojtech Bubnik
f2cd136f7d 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
84dc183bbf 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
7e60564533 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
df873b35ff 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
f4f454b657 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
Lukáš Hejl
4da956f9e4 Fixed typo in GLGizmoPainterBase::get_projected_mouse_positions() after 7bb38840e1. 2021-12-10 22:37:53 +01:00
Vojtech Bubnik
66e6d17da3 Fix of disabling thick bridges adds unnecessary support interfaces #7260
Improved numerical robustness when removing bridging perimeters from
overhangs to be supported.
2021-12-10 18:27:10 +01:00
YuSanka
27cb9fd59c Localization: Next improvements: CS, IT, ES, DE, ES, FR 2021-12-10 17:28:36 +01:00
YuSanka
ece20180b9 Code refactoring for ObjectList::get_selection_indexes().
Assert is changed to check if selection isn't empty.
Elsewhere processing of the empty selection can causes a crash.
2021-12-10 17:10:09 +01:00
Vojtech Bubnik
eb94206cc7 Fix of Bug in First Layer Expansion: Support material base layer intersects/overlaps with interface layer
First layer support expansion was only trimmed with contacts, not with
support interface layes (dense supports supporting contact layers).
2021-12-10 16:42:03 +01:00
Vojtech Bubnik
94de61a0e1 Fix of "solid_infill_every_layers = 1" does not generate valid infill for some geometries #6736
With solid_infill_every_layers = 1 the new solid layer should be solid
infill not solid bridging infill. Once the layer is correctly classified
as solid with solid_infill_every_layers = 1, everything works as expected.
2021-12-10 16:42:03 +01:00
YuSanka
b46e70710c Follow-up ea796aaa68
* Fixed builds for non-MSW platforms (We can't change the signature of the RichMessageDialog. It have to be completely the same as for wxRichMessageDialog)
* Texts of the message dialog are changed. Use InfoDialog instead of a RichMessageDialog.
* MsgDialog: Added SetButtonLabel() function
* InfoDialog: For constructor added is_marked_message and style parameter to allow to use marked text in the Dialog and set different style
2021-12-10 15:35:04 +01:00
enricoturri1966
37b19e76dd Follow-up of 450e430ca1b5169ab59d39a62cc84c4db3b0a8fa - Fixed wrong if() conditions into Plater::priv::reload_from_disk() 2021-12-10 14:36:28 +01:00
enricoturri1966
cb74c1271d #7429 - Fixes in reload from disk command 2021-12-10 14:36:28 +01:00
Vojtech Bubnik
ead36858b7 Trying to fix #7176:
Incorrect vertical size of a wxBitmapComboBox selecting presets
at the Persets page due to likely incorrect setting of a "rubbery"
scale factor of one of the box sizers.
2021-12-10 09:38:57 +01:00
Vojtech Bubnik
3f98f505c4 Windows specific: Fixes layout issues on plater, short BitmapComboBoxes
with some Windows scaling, see GH issue #7414.
The issue was most likely due to the initial main frame size
generated by Windows based on some unknown rule based on font scaling
and possibly display size and something else. If the initial window height
is short, then the last controls in a "rubbery" sizer are trimmed
and wxBitmapComboBoxes then remember the initial widget size indefinietly.
2021-12-10 09:34:28 +01:00
David Kocik
1c19ba4cc8 Changed message about copying another configuration folder.
Added headline to RitchTextDialog.
2021-12-09 18:46:36 +01:00