Filip Sykala
e456a547a9
Merge branch 'dev' into fs_mouse
2021-12-17 09:33:30 +01:00
Filip Sykala
a16c89b5a8
Merge pull request #7513 from prusa3d/fs_VS_filters
...
add VS filter by subdir
2021-12-17 09:31:13 +01:00
Filip Sykala
57e7e9a04e
Merge branch 'dev' into fs_mouse
2021-12-17 09:23:25 +01:00
Filip Sykala
553102c4ee
Fix reselect in flattening
2021-12-16 15:57:32 +01:00
Filip Sykala
9a9c8213cb
Fix update order
2021-12-16 12:33:26 +01:00
enricoturri1966
c30f5823f5
Refactoring of GLShaderProgram::set_uniform() methods
2021-12-15 14:55:21 +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
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
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
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
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
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
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
Lukáš Hejl
3fd7a5a4b1
Fixed typo in GLGizmoPainterBase::get_projected_mouse_positions() after 7bb38840e1
.
2021-12-10 22:37:53 +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
Filip Sykala
3c7390e34e
remove GLModel from base class
...
- only 2 gizmo use cone
2021-12-10 15:51:07 +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
Filip Sykala
123903f317
Clean up GLGizmoManagaer
...
Clean up GLGizmoBase
2021-12-10 14:58:06 +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
Filip Sykala
c751d6327d
Separate GizmoManager on_move into gizmo itself
2021-12-10 09:09:53 +01:00