Commit graph

7331 commits

Author SHA1 Message Date
YuSanka
9d2b6d5bda Follow-up to d0b4a4a87d - Fix for build warnings 2022-05-06 09:14:39 +02:00
enricoturri1966
ce98307b9c Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2022-05-06 07:30:38 +02:00
enricoturri1966
ff20ad1052 Fixed warning 2022-05-06 07:30:03 +02:00
Lukáš Hejl
356bec6e5f Added deallocation of wxBoxSizer into OptionsGroup::activate_line() when is not used. 2022-05-05 13:39:35 +02:00
YuSanka
8d1a2a8fb3 Implemented FR: Update toolbars "on fly", when custom toolbar size is editing from Preferences dialog
(https://dev.prusa3d.com/browse/SPE-1232)
+ Fixed update of the color pickers
2022-05-05 11:38:48 +02:00
YuSanka
d0b4a4a87d Preferences Dialog: Revert values, when "Cancel" button is clicked ([SPE-1230|https://dev.prusa3d.com/browse/SPE-1230])
+ Fixed bug: If change "dark mode" checkbox and "Settings layout mode", than dark mode wouldn't processed.
+ Code refactoring for create_settings_mode_widget()
2022-05-05 09:35:40 +02:00
YuSanka
7380787b3a Settings Tab: Fix for https://dev.prusa3d.com/browse/SPE-1229 2022-05-04 12:44:47 +02:00
enricoturri1966
a2a85af4dd Fixed out of bounds when showing color prints in gcode preview legend 2022-05-03 13:54:23 +02:00
enricoturri1966
1805f3c370 Tech ENABLE_NEW_RECTANGLE_SELECTION - Fixed object selection while a gizmo is open 2022-05-03 09:19:01 +02:00
YuSanka
c4b6381acf Fix for #8254 - Change of Print/Filament/Printer Settings not detected 2022-05-03 09:13:53 +02:00
YuSanka
881a5dbf37 Fix for #8228 - Model errors icon does not go away after proper model reloading 2022-05-02 15:10:24 +02:00
YuSanka
1bf4d61e36 Fix for #8261 - view mode gets reset when exiting the configuration wizard early
ConfigWizard::PageMode:: Code for initialization of values is moved to constructor from on_activate().
On Linux wxRadioButton values have to be set otherwise first value in group will be selected by default.
2022-05-02 14:36:39 +02:00
enricoturri1966
36c317c0e5 Follow-up of dcbc5e1251 - Button label changed from Cancel to Ok 2022-04-28 10:43:21 +02:00
enricoturri1966
dcbc5e1251 Fixed typo into Plater::load_gcode leading to a message dialog without buttons 2022-04-28 09:55:05 +02:00
enricoturri1966
6c31b8d7a8 SPE-1223 - Removed from legend the option to show shells in GCode Viewer 2022-04-28 09:39:58 +02:00
Lukas Matena
56466abe99 Fixed conflicts after stable->master merge 2022-04-27 23:45:16 +02:00
Lukas Matena
09fe421fe8 Merge branch 'stable' (no conflicts fixed) 2022-04-27 22:24:13 +02:00
tamasmeszaros
4148d7332e Prohibit multiple formats with the same extension (zip)
Archive format can be specified as a hint when a reader is created.
2022-04-26 14:43:28 +02:00
tamasmeszaros
784105f5ad Extend sla archive tests with read-back 2022-04-26 10:57:49 +02:00
tamasmeszaros
32a923da93 Archive reader types are now registered in one place 2022-04-26 09:38:03 +02:00
tamasmeszaros
4ef860811f Wip on svg archive import 2022-04-26 09:38:03 +02:00
tamasmeszaros
e0fc337b2d Get rid of window size parameter from import interface
Make 'Balanced' the default import quality
2022-04-26 09:38:03 +02:00
tamasmeszaros
5ecf29f303 Separate existing sla archive import code 2022-04-26 09:38:03 +02:00
Vojtech Bubnik
408e56f039 Fix of Boost 1.79 deprecated boost::filesystem::ofstream #8238
Replacing boost::filesystem::fstream with boost::nowide::fstream
variants with the unfortunate cost of string path conversion on Windows
from 16 bits to UTF8 and back to 16 bits.

Unfortunately we cannot use std::filesystem yet as it is missing
on older MACs and because the interface is crooked minefield on Windows
see https://github.com/microsoft/STL/issues/909
2022-04-25 08:33:48 +02:00
enricoturri1966
f504236734 Tech ENABLE_GIZMO_GRABBER_REFACTOR - Refactoring of GLGizmoBase::Grabber to have a single static instance of the cube and cone models to be shared by all grabbers 2022-04-14 15:15:14 +02:00
YuSanka
09512c086b Fix for SPE-1220:
* Added check of the visibility for selected presets when Configuration is loaded from SLA archive or from the G-code.
* SLAImportDialog:
    * MSW specific: added dark mode
    * Center on parent
2022-04-13 18:15:46 +02:00
enricoturri1966
3ce2d3a700 #8176 - Tech ENABLE_USED_FILAMENT_POST_PROCESS - Fixes used filament data exported to gcode file not taking in account custom gcode 2022-04-13 15:27:46 +02:00
Lukas Matena
1a4ce039da Fix of #8175: crash with Import SL1 in some cases
- do not process non-existing file, report as error
- cancelling the dialog is not an error, but a check in finalize() is needed
- fixed some localization issues (serious btw: the ToStdString returned "" in one of the cases, which would in turn ignore the error and proceed as if if did not happen)
- reset err in reset(), just to be sure
2022-04-13 12:33:25 +02:00
Lukas Matena
d7c1d0767f File menu on Win should use 'Exit' instead of 'Quit' (#8182) 2022-04-13 09:39:19 +02:00
Lukas Matena
6288ec4bf0 Fix of #8171: Two Chinese characters added into the range to load for ImGui 2022-04-11 12:10:16 +02:00
YuSanka
ed71887e35 Fix for #8122 - When you change setting with a blank project and go to exit it will ask you to save blank project, if you don't "save", prusa slicer wont' shut down
and #8076 - PrusaSlicer-2.4.1 does not close with no 3D-Model loaded and unsafed
2022-04-11 12:09:30 +02:00
YuSanka
a248490507 Fix for #7905 - Segfault when changing printer after loading 3mf with a different printer set
Update searcher only before open one of next dialogs : SearchDialog, UnsavedChangesDialog or DiffPresetDialog.
But only Search dialog respects to the mode of PrusaSlicer
2022-04-11 12:09:30 +02:00
enricoturri1966
bea50dce7c Fixed rendering of printbed while the camera is below it 2022-04-11 08:38:09 +02:00
Vojtech Bubnik
6a67a6e21b Fix of #8170: Seemingly the OSX finder calls the "open files" callback
on PrusaSlicer too early now on some newest platforms, where the
application is not yet fully initialized. This fix postpones loading of
files in that case.
2022-04-07 15:52:33 +02:00
enricoturri1966
a4435d214f Shader mm_contour - Customizable offset to calculate the correction to avoid z-fighting (MESA driver needs bigger one) 2022-04-07 12:59:11 +02:00
enricoturri1966
0995cfc658 Shader mm_contour - Correction to avoid z-fighting moved from fragment shader to vertex shader 2022-04-07 10:40:33 +02:00
enricoturri1966
b265e91df2 Fixed rendering of GLGizmoPainterBase sphere cursor when tech ENABLE_LEGACY_OPENGL_REMOVAL is disabled 2022-04-07 08:50:20 +02:00
enricoturri1966
5e0590a93e Removed assignment to gl_FragDepth into gouraud.fs shader. Replaced with small offset of triangles along their normal. 2022-04-07 08:22:33 +02:00
enricoturri1966
2de1b863bb Fixed build when tech ENABLE_GL_SHADERS_ATTRIBUTES is disabled 2022-04-07 08:18:06 +02:00
enricoturri1966
6b6fb9f692 Tech ENABLE_LEGACY_OPENGL_REMOVAL - Removed redundand #if/#endif into GLModel.cpp 2022-04-05 10:04:36 +02:00
enricoturri1966
0967974479 Fixed GLModel::reserve_indices() 2022-04-04 12:23:01 +02:00
YuSanka
8a8d2d15b0 Fix for #8156 - Automatic color change for logo crashes PrusaSlicer with second object of 0.2mm height 2022-04-04 11:42:10 +02:00
YuSanka
05e94eb0ab Fixed hard crash on "Convert from/to units" when several objects are selected
This crash was caused by commit https://github.com/prusa3d/PrusaSlicer/commit/38b877635
2022-04-01 09:48:38 +02:00
Lukas Matena
aa2a8178f8 Fixed some compiler warnings 2022-03-31 16:42:15 +02:00
YuSanka
807f380d3f Fix for #8091 - Design bug: Yes/No response to save dialogue 2022-03-31 14:34:53 +02:00
enricoturri1966
0763a48ce5 Tech ENABLE_GL_SHADERS_ATTRIBUTES - Fixed OpenGL clipping planes while rendering picking pass 2022-03-31 13:23:04 +02:00
Lukas Matena
8004e19879 Fix of #8126: crash on startup with wx3.0:
this appeared after 1f362af. The wxEXEC_SYNC is the default, but not using
wxEXEC_NOEVENTS caused a crash in wxWidgets3.0 (see #8126)
2022-03-30 15:28:44 +02:00
enricoturri1966
55aef05fbf Fix into GCodeViewer::refresh_render_paths() 2022-03-29 13:18:04 +02:00
Vojtech Bubnik
60d7564942 FFF background slicing for a single object only:
Generalized the "enabled milestone" from SLA
to both SLA and FFF.
Merged the "milestone enabled" flag into the milestone status.
Fixed some potential threading issues in SLAPrint::finalize()
when resetting the "milestone enabled" flags.
2022-03-29 11:19:50 +02:00
enricoturri1966
26d1b2a5cd Small refactorings related to GLCanvas3D::_mouse_to_3d() 2022-03-29 11:11:03 +02:00