Commit Graph

17824 Commits

Author SHA1 Message Date
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
Vojtech Bubnik
121bb260db 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
080e80a4d6 Localization: Next improvements: CS, IT, ES, DE, ES, FR 2021-12-10 17:28:36 +01:00
YuSanka
14749d3c73 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
baee1671ef 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
cad459c6ad 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
enricoturri1966
6204d107ee Added missing include 2021-12-10 15:41:35 +01:00
YuSanka
102ef9a024 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
1376c9cffd Updated deps-windows.cmake and Boost.cmake to be able to build dependencies using Visual Studio 2022 2021-12-10 15:11:17 +01:00
Lukas Matena
c21950c07b Merge branch 'et_reload_from_disk_fixes' 2021-12-10 14:36:38 +01:00
enricoturri1966
1ba189b3a8 Follow-up of 450e430ca1b5169ab59d39a62cc84c4db3b0a8fa - Fixed wrong if() conditions into Plater::priv::reload_from_disk() 2021-12-10 14:36:28 +01:00
enricoturri1966
8df5202e74 #7429 - Fixes in reload from disk command 2021-12-10 14:36:28 +01:00
enricoturri1966
e3d5cd445c Gizmos refactoring - Removed GLModels defined into GLGizmoBase, and mostly unused, to avoid wasting GPU memory. Use a shared GLModel for Gizmos inheriting from GLGizmoPainterBase. Initialization of GLModels moved from constructor to render methods 2021-12-10 11:28:12 +01:00
Vojtech Bubnik
26008adfa1 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
63a3971091 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
enricoturri1966
d561d3579a Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into dev 2021-12-10 08:21:56 +01:00
Spencer Owen
a6d6f9af8b Add extra tab 2021-12-09 21:51:29 -07:00
David Kocik
590f187370 Merge branch 'dk_msg' 2021-12-09 18:46:58 +01:00
David Kocik
ea796aaa68 Changed message about copying another configuration folder.
Added headline to RitchTextDialog.
2021-12-09 18:46:36 +01:00
YuSanka
f1429f026c RichMessageDialog on non-MSW platforms: Set escape ID to wxID_CANCEL
+ Fixed behavior of the "Open hyperlink" dialog when "cross"(close window button) is clicked.
2021-12-09 16:00:12 +01:00
YuSanka
27883caa08 Follow-up b3074ad2cc
Change random values of the S and V in HSV colors.
To avoid generation of the extremely light or dark colors we use now generated values from the range [0.65; 0.1]
2021-12-09 14:16:47 +01:00
David Kocik
7880c20330 wider SLA material type in conf wizard 2021-12-09 11:43:49 +01:00
enricoturri1966
f958c14db8 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_preview_layout 2021-12-09 09:03:20 +01:00
enricoturri1966
0d6f2df268 Tech ENABLE_ENHANCED_IMGUI_SLIDER_FLOAT - Fixed missing tooltips passed as parameter to ImGuiWrapper::slider_float 2021-12-09 09:00:58 +01:00
enricoturri1966
9139ab3f7e Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into dev 2021-12-09 08:38:29 +01:00
Lukas Matena
7ec7d5181a Updated tooltip on 'synchronize supports with object layers' 2021-12-08 17:30:27 +01:00
Spencer Owen
7e453380d6
Merge branch 'prusa3d:master' into ender2-pro 2021-12-08 09:04:20 -07:00
Vojtech Bubnik
f697ede19a The default SLA material speed was set to fast. 2021-12-08 16:56:05 +01:00
YuSanka
77e8429eae Fix for #7146 - Reset settings for spiral vase mode is inconsistent 2021-12-08 16:36:50 +01:00
Lukas Matena
96e674525d Merge branch 'master' into dev 2021-12-08 16:21:51 +01:00
Lukas Matena
06fd732b57 Fixed behaviour of float sliders in SLA gizmos,
which was broken after the 'Edit' button was added.
This is a bit hacky fix, it might be worth improving later.
2021-12-08 16:19:08 +01:00
Lukas Matena
e9b9c48cae Fixed rear seam option, which was not always respected,
the problem was originally introduced in b8c898b, recent
seam changes probably made it more visible
2021-12-08 16:18:54 +01:00
Lukáš Hejl
5b56adba59 Added a missing include (GCC11.1 without PCH). 2021-12-08 13:19:27 +01:00
Lukáš Hejl
66d11bd198 Changed OpenGL buffer type to GL_ELEMENT_ARRAY_BUFFER for vertex array indices in GLPaintContour. The previous type GL_ARRAY_BUFFER was used by mistake. 2021-12-08 11:23:35 +01:00
Vojtech Bubnik
981e249927 Follow-up to c9727b5a57
Fixed incorrect use of a boolean config value
2021-12-08 11:22:43 +01:00
Vojtech Bubnik
fe0d7691c1 Fixed incorrect case in include 2021-12-08 11:19:25 +01:00
YuSanka
3d23907056 Fix of the position of "PrusaSlicer: Open hyperlink" Dialog
More info https://github.com/prusa3d/PrusaSlicer/issues/7419#issuecomment-988231014
2021-12-08 10:40:47 +01:00
Vojtech Bubnik
c9727b5a57 Fix of Random placment of top fill throughout model #7442
For this particular model, ClipperLib numerical instability causes
one of the internal surfaces to turn into bridging surfaces
on reslicing. The issue was fixed by reverting to untyped slices if possible.
2021-12-08 09:45:59 +01:00
enricoturri1966
b45d56b5b8 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_preview_layout 2021-12-08 08:15:51 +01:00
Justin Schuh
175a6369fd
build_win.bat: MSVC version selection and minor fixes (#7450)
* Adds MSVC version and product selection parameters
* Better error handling and reduced error noise
2021-12-08 06:03:46 +01:00
Spencer Owen
b81964be0f grid looking good 2021-12-07 17:49:05 -07:00
Spencer Owen
976beb6154 improved logo 2021-12-07 17:40:53 -07:00
YuSanka
9cd1df97d6 Fixed #7446 - Removed 'support' label makes the terms in the support selector confusing. 2021-12-07 16:25:22 +01:00
YuSanka
488eb51282 Fix for InfoDialog, when Info about in-recognized loaded config values is shown.
Text in this dialog wasn't marked correctly.
2021-12-07 15:19:04 +01:00
YuSanka
1ff7214532 Fix for endless loop dialog - see https://github.com/prusa3d/PrusaSlicer/issues/7419#issuecomment-986325432
When part's configuration is updated =>
Don't call config_manipulation.update_print_fff_config() separately for applied object's config and then applied own config.
Configuration have to be applied from object config and its config. And than call config_manipulation.update_print_fff_config().

+ Redundant call of the update_config_values() is deleted from DeleteButton event. All checks are made during update_settings_list().
2021-12-07 14:40:52 +01:00
Vojtech Bubnik
89eabec582 Bumping up patched wxWidgets SHA after fixing a Win32 dark mode specific
GDI resource leak.
Should fix disappearing stuff #7369
2021-12-07 13:17:31 +01:00
Vojtech Bubnik
7f0fcd1354 Fix of infill_only_where_needed for complex objects:
When propagating overhangs to be supported, the regions are newly
properly merged and regularized.

Fix of Stuck at "preparing infill" with "only infill where needed" enabled 1.41.2 #1696
"Only infill where needed" makes slicer crash for some models #6385
[BUG] Slicing stuck for 14h now, 0.8 NZL Ender 5+ Gyroid infill only where need
2021-12-07 13:15:33 +01:00
YuSanka
940690ecdb Follow-up d8ecc191da - Remove from code a condition which has opposite effect effect now.
+ OptionsGroup::activate_line():Add same as at OG_CustomCtrl::CtrlLine::render() condition for the drawing of a option label.
It means that we draw option labels only, if line has more than one option.
2021-12-07 10:55:27 +01:00
YuSanka
d8ecc191da Added a check that first layer height is not expressed as a percentage (related to https://github.com/prusa3d/PrusaSlicer/issues/7418)
first_layer_height cannot be changed to ConfigOptionFloat, that would break loading of old 3MFs.
The relative values from 3MFs should already be converted to absolute in `Preset::normalize`, what is missing is the UI check.

+ Code refactoring for OptionsGroup::create_single_option_line():
Don't clear label value in an Option. This value is used in Field::get_value_by_opt_type() to show error "%s doesn't support percentage".
=> At functions OG_CustomCtrl::CtrlLine::render() and OG_CustomCtrl::CtrlLine::get_pos() added check if current line has more than one option.
=> Draw option's label only when line has several options.
2021-12-07 09:20:36 +01:00