Commit graph

10101 commits

Author SHA1 Message Date
Filip Sykala
576a63cd20 Fix for cut gizmo during move of object 2022-02-10 08:50:38 +01:00
enricoturri1966
be6922795d Tech ENABLE_GLINDEXEDVERTEXARRAY_REMOVAL - Replace GLIndexedVertexArray with GLModel: MeshClipper::m_vertex_array 2022-02-10 08:24:36 +01:00
Vojtech Bubnik
443a42c6d8 Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer 2022-02-09 15:31:00 +01:00
Vojtech Bubnik
5ed364910b Follow-up to 199dc121a5
Quantization of G-code export to achieve more precise extrusion
    width control.
Fix of wiping.
2022-02-09 15:30:11 +01:00
Filip Sykala
5f51811a3c Fix dragging out of window 2022-02-09 15:16:17 +01:00
enricoturri1966
df3d670357 Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Removed Slic3r::GUI::GLPaintContour from GLGizmoPainterBase.hpp/.cpp and replaced with GLModel 2022-02-09 15:11:56 +01:00
enricoturri1966
8916a00821 Tech ENABLE_GLINDEXEDVERTEXARRAY_REMOVAL - Replace GLIndexedVertexArray with GLModel:
TriangleSelectorGUI::m_iva_enforcers

TriangleSelectorGUI::m_iva_blockers

TriangleSelectorGUI::m_iva_seed_fills

TriangleSelectorGUI::m_varrays

GLGizmoPainterBase::s_sphere
2022-02-09 13:13:10 +01:00
enricoturri1966
4d2d77e99c Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Adapt GLModel::Geometry index format in dependence of data size, where possible 2022-02-09 10:05:49 +01:00
enricoturri1966
be6b6590be Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Refactoring to simplify client code of GLModel::Geometry 2022-02-09 09:15:20 +01:00
enricoturri1966
ffa3a1d8fc Tech ENABLE_GLINDEXEDVERTEXARRAY_REMOVAL - Replace GLIndexedVertexArray with GLModel - GLGizmoFlatten::PlaneData::vbo 2022-02-09 09:08:37 +01:00
YuSanka
d0b694daff Linux specific: Fixed a bug focusing of the some settings tabs
Steps to repro of a bug:
1. FFF/SLA printer is selected
2. Load 3mf projet with SLA/FFF printer
3. Chnage printer to the FFF/SLA
=> (Print a Filanemt Settings)/(Print a Materials Settings) are disabled

Notes: This issue appeared after https://github.com/prusa3d/PrusaSlicer/commit/bfce4f6, when find_toplevel_parent(plater) instead of plater was set as a parent for ProgressDialogs
2022-02-08 17:19:30 +01:00
enricoturri1966
a74bea5a2d Follow-up of 6b041429f6 - Fixed typo due to missing code edit after copy and paste 2022-02-08 13:09:19 +01:00
enricoturri1966
8ada191e91 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2022-02-08 12:58:04 +01:00
enricoturri1966
92aa6540f5 Tech ENABLE_SHOW_TOOLPATHS_COG - Show toolpaths center of gravity 2022-02-08 12:57:56 +01:00
Filip Sykala
0c40e2f8c8 Merge branch 'master' into fs_mouse
# Conflicts:
#	src/slic3r/GUI/Gizmos/GLGizmoRotate.cpp
#	src/slic3r/GUI/Gizmos/GLGizmoRotate.hpp
2022-02-08 10:43:29 +01:00
Lukas Matena
1a2120a43e Changed config folder to -alpha, version increased to 2.5.0-alpha0 2022-02-08 10:06:46 +01:00
Vojtech Bubnik
199dc121a5 Quantization of G-code export to achieve more precise extrusion
width control.
2022-02-07 15:33:34 +01:00
Lukáš Hejl
a4ecf2f2a6 Replaced smooth_outward in multi-material segmentation with a function that removes duplicate points with angle threshold. It should fix #7838 and #6892.
The main contribution of the smooth_outward function for multi-material segmentation was the removal of duplicate points in polygons using MutablePolygon::remove_duplicates().
But the issue with this function is that it deletes points only based on their distances, which could cause problems like in #7838.
2022-02-07 13:38:22 +01:00
YuSanka
9ea7427ce7 Fix for #7887 - [UI] Add Settings > Layers and Perimeters - some options have non distinct labels
+ Fixed build warning
2022-02-07 13:21:11 +01:00
YuSanka
a1746e3e66 Fix for #7849 - "Save Project" command doesn't work properly
Don't update saved presets on
   * preset selection
   * initialization of PresetCollection
, but update them on
   * load another project
   * initialization of an application
2022-02-07 11:59:39 +01:00
Vojtech Bubnik
7989b72298 Fixing Perl unit tests: Fixed crash in calc_max_layer_height() 2022-02-07 11:11:29 +01:00
enricoturri1966
f6c7fefec2 Follow-up of 6b041429f6 - Fixed warning 2022-02-07 10:49:50 +01:00
Lukáš Hejl
e20d041fc9 Fixed an issue with a gap in brim when inner brim was used.
This gap still can appear for holes that contain another object.
Also fixed an issue that a huge outer brim can overflow into holes of another object.
2022-02-07 10:48:52 +01:00
enricoturri1966
6b041429f6 Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Removed Slic3r::GUI::GeometryBuffer from 3DBed.hpp and replaced with GLModel 2022-02-07 10:24:24 +01:00
Vojtech Bubnik
1d7f4a081b G-code thumbnails in other than PNG format: Fixing Perl unit tests. 2022-02-07 10:20:04 +01:00
YuSanka
874da0281d Fixed SPE-1192
Wrong list of SLA-materials, when no SLA-printer is installed, but 3MF with SLA print is loaded
2022-02-07 10:00:49 +01:00
Vojtech Bubnik
960913bada Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer 2022-02-07 09:22:54 +01:00
Lukáš Hejl
dd3964c8c3 Added deallocation of SupportLayers (PrintObject::m_support_layers) into the PrintObject destructor and fixed memory leak in modulate_extrusion_by_overlapping_layers(). 2022-02-05 13:27:54 +01:00
Lukáš Hejl
7cc4b1d8b4 Suppressed reports of memory leaks from Mesa 3D software driver in WSLg. 2022-02-05 13:26:52 +01:00
Vojtech Bubnik
6ed037ab7b Merge remote-tracking branch 'origin/stable' 2022-02-04 17:01:18 +01:00
enricoturri1966
987dc3ddb1 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2022-02-04 12:02:21 +01:00
enricoturri1966
b04e05b3f7 Fixed bug into GLTexture::load_from_svg_files_as_sprites_array() - One pixel of generated icons was cut away 2022-02-04 12:02:10 +01:00
YuSanka
6f595ceb64 Fix for fff_print_tests 2022-02-04 11:30:07 +01:00
YuSanka
9585fda2f1 UnsavedChangesDialog: Fixed a crash, when enum_labels wasn't defined for some enum config option. 2022-02-04 10:02:13 +01:00
enricoturri1966
30dc2bf39c Do not show ProjectDropDialog when drag and dropping a 3mf file produced by other softwares and the plater is not empty 2022-02-04 09:52:00 +01:00
enricoturri1966
252d153b9f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2022-02-04 08:16:54 +01:00
enricoturri1966
f6b4cbdc32 Follow-up of 030f460114 - compress_thumbnail_jpg() implemented using embedded libjpeg 2022-02-04 08:16:48 +01:00
tamasmeszaros
ca7668d858 Change precision units to mm
Add some perf optimization for svg output writing
2022-02-03 16:10:03 +01:00
tamasmeszaros
5e97778528 Added new param sla_output_precision in nanometers
Adopted a fast and easy integer to string conversion
2022-02-03 16:10:03 +01:00
tamasmeszaros
72da90d28f WIP
wip
2022-02-03 16:10:03 +01:00
tamasmeszaros
b45c6ef173 Export scaled integer coordinates into svg
This is faster and lossless
2022-02-03 16:09:57 +01:00
tamasmeszaros
00764ceade Fix ignoring of changed sla printer params 2022-02-03 16:09:57 +01:00
tamasmeszaros
7f153a55b3 SLA archiver implemented for svg output, switchable in config.
new config is sla_archive_format as a string.
WIP


Get rid of SVG class, use manual svg creation


Revert changes in SVG.hpp and SVG.cpp
2022-02-03 16:09:57 +01:00
enricoturri1966
030f460114 Follow-up of 87cff55856 - Implementation of compress_thumbnail_jpg() 2022-02-03 13:24:30 +01:00
YuSanka
3d0feaf3e6 Fix for #7856 - Grey square rendered over "notebook tabs" in preferences dialog
For BlinkingBitmap was used wrong parent. That is why first layout wasn't correct.
2022-02-03 11:18:56 +01:00
Lukáš Hejl
bd65eb55b0 Added a missing include (GCC11.1 without PCH). 2022-02-03 08:36:24 +01:00
Vojtech Bubnik
086662b6a1 Fixed typo in thumbnail_QOI tag. 2022-02-02 17:43:39 +01:00
Vojtech Bubnik
87cff55856 WIP: Implemented support for QOI G-code thumbnail format as requested
by the RepRapFirmware team due to their low RAM budget for decompression.
Bundled the QOI image compression library.
2022-02-02 17:37:46 +01:00
enricoturri1966
222e3ec6ef Follow-up of cfe8aa4818 - Fixed focus when moving between object manipulator fields by tab key or mouse click 2022-02-02 15:25:35 +01:00
enricoturri1966
81b9997009 Follow-up of 7d87490777 - Fix into function reloadable_volumes() 2022-02-02 14:59:21 +01:00
enricoturri1966
7d87490777 Tech ENABLE_RELOAD_FROM_DISK_REWORK - A bunch of bug fixes in Reload from disk command:
1) Lost orientation after reload from disk (SPE-1182)

2) Wrong objects replacement from reload from disk command (SPE-1183)

3) Reload from disk not disabled for built-in models (SPE-1184)
2022-02-02 14:25:36 +01:00
Oleksandra Yushchenko
e709840977
DoubleSlider: Fixed draw of the ruler for sequential print (#7854)
+ Fixed a condition for detection of sequential print (may caused a crash from #7263)
+ suppress to show ruler ticks when step was not detected
2022-02-02 13:22:39 +01:00
YuSanka
6667852d92 DiffPresetsDialog: Added info line for truncated option values.
Related to #7852 - Compare Filament Dialog: Values are truncated
2022-02-02 12:44:36 +01:00
YuSanka
fc59a2c1b0 Implemented FR #7850 - G-Code Substitutions: move [X Delete all] button or ask for confirmation
+ MsgDialog:
* Added processing if the wxNO_DEFAULT and wxCANCEL_DEFAULT flags
* Next improvements of get_wraped_wxString() function
2022-02-02 12:44:36 +01:00
enricoturri1966
1fb41a8e22 #4881 - #5073 - #6336 - GCodeProcessor::AxisCoords using doubles in place of floats 2022-02-02 11:22:45 +01:00
enricoturri1966
1af59e0e5d Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_new_camera_movements 2022-02-02 08:07:38 +01:00
Lukas Matena
cb5ff10a88 Merge branch 'master' into dev 2022-02-01 14:17:34 +01:00
Lukas Matena
5c616c5931 Sync to 2.4.1-beta1 2022-02-01 14:16:13 +01:00
Lukas Matena
ebb9041041 Merge branch 'master' into stable - no conflicts fixed 2022-02-01 14:15:18 +01:00
Vojtech Bubnik
9dae482e12 Bumped up version to 2.4.1-beta1 2022-02-01 10:03:22 +01:00
enricoturri1966
1fa20aaaa4 Merge branch 'dev' of https://github.com/prusa3d/PrusaSlicer into dev 2022-02-01 08:08:01 +01:00
enricoturri1966
0c0250750b #7843 - Added processing of gcode lines G60 and G61 for Marlin firmwares 2022-02-01 08:07:53 +01:00
Vojtech Bubnik
be60775077 get_wraped_wxString(): Adapted to work with UTF8 2022-01-31 16:25:20 +01:00
enricoturri1966
383f6509a9 Added tech DISABLE_GCODEVIEWER_INSTANCED_MODELS to easily turn on/off instanced models to render options in gcode preview 2022-01-31 15:36:40 +01:00
YuSanka
ba82cfa9e3 Follow-up to e3ef90941f - next improvements for get_wraped_wxString 2022-01-31 14:37:53 +01:00
Lukáš Hejl
c2258dead7 Fixed destructors of DiffViewCtrl and ObjectList after 8342b7f95b and 0726b46da2. 2022-01-31 14:36:06 +01:00
enricoturri1966
7bd8b3b892 #7791 - Fixed reload from disk command for plain (non zipped) amf files 2022-01-31 14:26:31 +01:00
enricoturri1966
08abdc27a0 #7792 - Fixed relative positions of objects loaded from plain (non zipped) amf files 2022-01-31 13:13:06 +01:00
Vojtech Bubnik
56e189943f Follow-up to 3e7a4d4648
Allowed for localization of error messages.
2022-01-31 11:27:32 +01:00
Vojtech Bubnik
e3ef90941f Hopefully fixed get_wraped_wxString() and did not introduce new bugs. 2022-01-31 11:09:13 +01:00
YuSanka
1a57db092f Print Settings: "Output options": Switched a places of "Post-processing scripts" and "G-code substitutions" 2022-01-31 10:19:09 +01:00
Vojtech Bubnik
58d64bae77 Fix of #6336 #5073: Throw an error if G92 E0 is missing in layer change
G-code with relative extruder addressing. Also thrown an error,
if G92 E0 is used with absolute extruder addressing.
2022-01-31 10:19:01 +01:00
YuSanka
de8ba0e850 MsgDialog: get_wraped_wxString(): Fixed a bug in case, when string is break on slash 2022-01-31 09:28:00 +01:00
YuSanka
ea84a46cdc G=code substitutions: Debugger: Fixed wxWidgets assert when new substitution is added
+ Fixed representation of the gcode_substitution in DiffDialog and UnsavedChangesDialog
2022-01-29 11:16:28 +01:00
enricoturri1966
238516a660 Fixed conflicts after merge with dev branch 2022-01-29 09:50:55 +01:00
enricoturri1966
8d94841fa3 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into dev 2022-01-29 09:17:30 +01:00
Oleksandra Yushchenko
ddb14fa7f9
MSW specific: Highlighted text for the default buttons in dialog. Related to https://github.com/prusa3d/PrusaSlicer/issues/7564 (#7830) 2022-01-28 17:16:04 +01:00
YuSanka
07a27c9e2d G-code substitutions: Added path to helper
Fixed a bugs:
* Notes wasn't correctly save to 3mf
* Button "Delete All" wasn't hidden when last substitution was deleted
2022-01-28 17:11:27 +01:00
enricoturri1966
aea68c75f3 Merge branch 'dev' of https://github.com/prusa3d/PrusaSlicer into dev 2022-01-28 16:50:15 +01:00
enricoturri1966
1a47211bfc Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Textures rendering 2022-01-28 16:50:07 +01:00
Lukáš Hejl
5f0fea4d58 Added option to enable UndefinedBehaviorSanitizer on Clang and GCC. 2022-01-28 14:52:22 +01:00
Lukáš Hejl
46c827c7fc Fixed Clang 12 compiler warnings. 2022-01-28 14:52:22 +01:00
Lukáš Hejl
c8d4eb5788 Fixed shared_ptr cycle in TabFilament::add_filament_overrides_page(), TabFilament::build(), and TabFilament::build_fff(), which also caused a memory leak. 2022-01-28 14:43:10 +01:00
Lukáš Hejl
dcecd96b39 Fixed duplicate cloning of entities in ExtrusionEntityCollection::clone() that also fixed the memory leak. 2022-01-28 14:43:10 +01:00
Lukáš Hejl
8342b7f95b Added deallocation of DiffViewCtrl::model into the DiffViewCtrl destructor. 2022-01-28 14:43:10 +01:00
Lukáš Hejl
e711cb50d0 Added deallocation of Layers (PrintObject::m_layers) into the PrintObject destructor. 2022-01-28 14:43:10 +01:00
Lukáš Hejl
0726b46da2 Added deallocation of ObjectList::m_objects_model into the ObjectList destructor. 2022-01-28 14:43:10 +01:00
Lukáš Hejl
4387436525 Fixed memory leak in GLCanvas3D::_load_print_object_toolpaths() and GLCanvas3D::_load_wipe_tower_toolpaths(). 2022-01-28 14:43:10 +01:00
Lukáš Hejl
26b28699f1 Fixed memory leak in Semver::set_metadata() and Semver::set_prerelease(). 2022-01-28 14:43:10 +01:00
Lukáš Hejl
82a3f1c965 Fixed memory leak in PlaceholderParser::compare_op(). 2022-01-28 14:43:10 +01:00
Lukáš Hejl
7f7af8d4a0 Suppressed reports of memory leaks from libfontconfig, libfreetype, and some GPU drivers. 2022-01-28 14:43:10 +01:00
YuSanka
0ffc27dbe1 GCode substitutions: Added UI ("Notes" editor) to the changed format of gcode_substitutions 2022-01-28 14:01:26 +01:00
Lukáš Hejl
7e822fbdc6 Added a missing include (GCC11.1 without PCH). 2022-01-28 13:53:19 +01:00
Vojtech Bubnik
a103336c8c Fix of Opening a previous version of PrusaSlicer damages configuration #7780
PrusaSlicer writes its version into "version" field of PrusaSlicer.ini
on start, unfortunately it used to do it too early, before the
"configuration invalid, reconfigure" dialog was shown to the user.
If user refused, the version was still written into PrusaSlicer.ini,
which lead to a newer slicer thinking the configuration is outdated.
2022-01-28 11:31:22 +01:00
enricoturri1966
eda55701a2 Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Background rendering 2022-01-28 11:30:04 +01:00
Slic3rPE
f14ec5e9ae Command key sign in hints 2022-01-28 11:03:51 +01:00
Vojtech Bubnik
7da4bebe7a WIP GCode substitutions: Changed the format of gcode_substitutions by
adding an empty comment as a fourth parameter to each substitution.
In the future, we will provide a UI to show / edit the comment.
2022-01-27 17:02:16 +01:00
Lukas Matena
12cebddce6 Replace Ctrl -> Cmd in hints on Apple. 2022-01-27 16:48:24 +01:00
enricoturri1966
a939d8e4c0 Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Layers editing profile's background texture rendering 2022-01-27 15:45:55 +01:00
enricoturri1966
8c807dbcc4 Tech ENABLE_GLBEGIN_GLEND_REMOVAL - A few fixes in layers editing profile rendering 2022-01-27 15:19:29 +01:00
enricoturri1966
5db3c66cf7 Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Added method void init_from(const TriangleMesh& mesh) to GLModel 2022-01-27 13:45:30 +01:00
enricoturri1966
9d764bfeac Code cleanup in Selection and GLCanvas3D 2022-01-27 13:17:32 +01:00
enricoturri1966
a690f7825c Fixed warning 2022-01-27 12:45:03 +01:00
enricoturri1966
703aefa75c Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into dev 2022-01-27 12:04:47 +01:00
enricoturri1966
983a4de60d Fixed conflicts after merge with dev branch 2022-01-27 12:03:46 +01:00
enricoturri1966
afcac6e2ea Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Refactoring of GLModel to:
1) allow for custom vertex data layout

2) allow for custom index data format

3) allow for any OpenGL primitive type
2022-01-27 12:00:51 +01:00
YuSanka
f79bdbe61e G-code substitutions: Use WarningDialog/ErrorDialog instead of throw RuntimeError during value validation 2022-01-26 15:40:08 +01:00
Vojtech Bubnik
9828abb443 GCode find/replace: Another try to make a sensible "default" behavior
with the boost::regex implementation:
With no "single line", don't accept new lines with a dot '.'.
2022-01-26 13:57:30 +01:00
Vojtech Bubnik
e83d89dee7 Fix of escape_strings_cstyle(), which did not enclose a single word
string containing semicolon ';' character into quotes.
2022-01-26 13:18:52 +01:00
YuSanka
35bc327127 Follow-up to a7520f47a6 " add IU for "Match single line" 2022-01-25 17:26:21 +01:00
Vojtech Bubnik
a7520f47a6 GCodeFindReplace: Implemented perl's "match single line" option
to the back-end.
2022-01-25 16:28:18 +01:00
enricoturri1966
c823ea0710 Fixed build on asan linux 2022-01-25 16:20:33 +01:00
Lukas Matena
ed508d49d6 Changed the inner seam replacement threshold to 3*nozzle_diameter 2022-01-25 15:40:28 +01:00
Lukas Matena
b86effada0 Fixed one possible crash and a warning 2022-01-25 15:40:28 +01:00
Lukas Matena
9e23795137 Trying to make the inner seam placement a bit more intelligent:
place external seams first, then place inner seam using the normal seam placement
function, only limited to vicinity of the closest external seam.
2022-01-25 15:40:27 +01:00
Lukas Matena
3cc907b361 Seams: changed the overhang penalty calculation, it might have been too much compared to the rest
Also reduced penalty for flat surfaces a bit, based on some testing (hopefully it is not overfitting on the test models)
2022-01-25 15:40:27 +01:00
Lukas Matena
689f923aaf Seam fixes:
- turned off staggering
- fixed a bug in one of the heuristics (distance between indices measured instead of actual distance)
2022-01-25 15:40:27 +01:00
enricoturri1966
7150e0adda Follow-up of f2a7245f36 - Apply clamping max bounding box to avoid z-fighting only in gcode preview 2022-01-25 13:59:10 +01:00
Vojtech Bubnik
79a0345201 Further GCodeFindReplace adjustmnets of regular expressions:
match_single_line: ^$ will NOT match \n
2022-01-25 10:36:30 +01:00
Vojtech Bubnik
6817120932 GCodeFindReplace: Removed boost::match_not_dot_newline | boost::match_not_dot_null 2022-01-25 09:40:24 +01:00
Lukas Matena
cb99d491af Fix of a possible locales mismatch during GCode export
There is a mysterious issue with GCode annotations printed with decimal
commas instead of points. tbb threads should be set to "C" locales when started,
either another thread is spawned by tbb, or someone switches the thread locales
and leaves it in the pool.
2022-01-24 16:21:21 +01:00
enricoturri1966
7a3f71331d Merge branch 'dev' of https://github.com/prusa3d/PrusaSlicer into dev 2022-01-24 14:24:20 +01:00
enricoturri1966
12763c0a53 #7785 - 3D view tooltip position as a function of mouse cursor size on Windows 2022-01-24 14:24:10 +01:00
enricoturri1966
337d7ffaf6 Follow-up of 0e173e3f82 - Further code optimization 2022-01-24 10:43:49 +01:00
YuSanka
8c4688194a Merge remote-tracking branch 'origin/master' into dev 2022-01-24 10:40:12 +01:00
enricoturri1966
7d45da065a Partial revert of e12cf58c91 2022-01-24 09:43:29 +01:00
enricoturri1966
39fa0b3c46 Fixed wrong cut contours shown by gizmo cut (SPE-1177) 2022-01-24 09:36:44 +01:00
enricoturri1966
0e173e3f82 Refactoring of lambda extract_move_id() to improve performance of method GCodeViewer::load_toolpaths() 2022-01-24 08:51:19 +01:00
YuSanka
7111da2dbf Merge remote-tracking branch 'origin/master' into dev 2022-01-24 08:37:51 +01:00
YuSanka
959804c80c Fixed a use of uninitialized variables reported by MemorySanitizer 2022-01-21 16:54:18 +01:00
YuSanka
c9dbc1cbba Localization: Added missed phrases -> Updated POT and dictionaries for CZ, PL, IT, ES, DE, FR
+ Command to remove obsolite lines is added to gettext_concat_wx_po_with_po and gettext_merge_po_with_pot scripts
+ POs for CA, KR, NL, BR, RU, TR, UK, ZH are merged with new POT
+ Updated all MO files
2022-01-21 15:31:01 +01:00
enricoturri1966
35dd03e8cb Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Camera target 2022-01-21 12:07:54 +01:00
enricoturri1966
05dec1bee9 Fix in debug tech ENABLE_SHOW_CAMERA_TARGET 2022-01-21 11:44:13 +01:00
enricoturri1966
bcaa0d38bd Fixed uninitialized variables reported by MemorySanitizer in Geometry::Transformation 2022-01-21 11:26:44 +01:00
YuSanka
fa9a0beec7 Follow-up to 1dffc40f - Save app_config every time a "restore_win_position" is changed
Fix for cases witch are described in https://github.com/prusa3d/PrusaSlicer/issues/2939#issuecomment-1017730712
2022-01-21 11:17:14 +01:00
Lukas Matena
d2664ea295 Fixed crashes with specific configuration of draft shield:
the crashing cases were:
- skirts=0 + dsEnabled
- skirt_height=0 + dsLimited

Also, when ooze_prevention is enabled with multiple extruders and skirt is disabled, 2.4.0 does not generate infinite skirt.
Version 2.3.3 does, ooze prevention overrides the disabled skirt. This commit reinstates the old behaviour.

The issues were introduced in b466f18.
2022-01-21 11:07:18 +01:00
enricoturri1966
2673994471 Tech ENABLE_GLBEGIN_GLEND_REMOVAL - LayersEditing profile 2022-01-21 11:03:25 +01:00
enricoturri1966
0e3a3aa522 Tech ENABLE_GLBEGIN_GLEND_REMOVAL - GLGizmoPainterBase circle 2022-01-21 09:33:52 +01:00
enricoturri1966
0a177d0e06 Merge branch 'dev' of https://github.com/prusa3d/PrusaSlicer into dev 2022-01-21 08:34:50 +01:00
enricoturri1966
08a2711034 Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Gizmo rotate 2022-01-21 08:34:42 +01:00
Lukáš Hejl
6fed5c29a1 Fixed use of an uninitialized variable in GLGizmoPainterBase::update_raycast_cache(). 2022-01-20 15:31:53 +01:00
YuSanka
94b8c4f096 Merge remote-tracking branch 'origin/master' into dev 2022-01-20 15:22:24 +01:00
enricoturri1966
f6f95808cc Tech ENABLE_GLBEGIN_GLEND_REMOVAL - GLSelectionRectangle rectangle 2022-01-20 14:34:19 +01:00
YuSanka
d1523d2a6b Localization: Updated POT and dictionaries for CZ, PL, IT, ES, DE, FR
+ Fixed phrases in Tab.cpp, hints.ini, NotificationManager.cpp
+ POs for CA, KR, NL, BR, RU, TR, UK, ZH are merged with new POT
+ Updated all MO files
2022-01-20 14:18:55 +01:00
YuSanka
c932936b68 Fix of warnings 2022-01-20 14:18:55 +01:00
David Kocik
86c49163f8 latin-2 for Hungarian in imgui
#5479
2022-01-20 14:17:02 +01:00
enricoturri1966
803d797bd7 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_z_offset 2022-01-20 13:46:03 +01:00
enricoturri1966
18e2cc2298 Tech ENABLE_SHOW_NON_MANIFOLD_EDGES - 1st installment - Calculate and show in 3D view non-manifold edges as lines 2022-01-20 13:32:24 +01:00
YuSanka
ded855d0c2 Fix for #7781 - Entering value in Thumbnail setting causes PrusaSlicer to crash
Follow-up 106e520a - During code refactoring "thumbnails" option wasn't correctly processed
2022-01-20 10:07:26 +01:00
Filip Sykala
f23c356507 Merge branch 'dev' into fs_mouse
# Conflicts:
#	src/slic3r/GUI/GLCanvas3D.cpp
#	src/slic3r/GUI/Gizmos/GLGizmoBase.cpp
#	src/slic3r/GUI/Gizmos/GLGizmoBase.hpp
#	src/slic3r/GUI/Gizmos/GLGizmoScale.cpp
#	src/slic3r/GUI/Gizmos/GLGizmoScale.hpp
2022-01-20 09:25:06 +01:00
enricoturri1966
81edc7d752 Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Gizmo scale grabber connections 2022-01-20 08:28:50 +01:00
Lukáš Hejl
e0883910dd Added a missing include (Clang 12 without PCH). 2022-01-19 20:39:28 +01:00
Lukas Matena
06cca525d0 Added a missing include for gcc 2022-01-19 15:16:46 +01:00
YuSanka
667842ec8b Implemented get_wraped_wxString() to wrap the message text inside the MessageDialog and RichMessageDialog 2022-01-19 15:16:18 +01:00
YuSanka
6b83ded669 LockButton: Deleted unnecessary call of UpdateDarkUI()
+ Added some smarter update on SetLock()
2022-01-19 15:16:18 +01:00
enricoturri1966
0b6e2b4aec Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Gizmo move grabber connections 2022-01-19 15:08:59 +01:00
enricoturri1966
2dc63070b6 Merge branch 'dev' of https://github.com/prusa3d/PrusaSlicer into dev 2022-01-19 14:23:13 +01:00
enricoturri1966
c74ae1c513 Follow-up of dc75a59115 - Use a unique command and method to export to STL and OBJ - Added export to OBJ also for Export plater to STL commands 2022-01-19 14:23:03 +01:00
Filip Sykala
80231a22f2 Merge branch 'dev' into fs_simplify_multipart_object 2022-01-19 13:59:57 +01:00
enricoturri1966
71f08841f9 Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Gizmo cut plane and grabber connection 2022-01-19 13:32:46 +01:00
enricoturri1966
ab171441aa Follow-up of 4b4d1c2f2a - Restored line deleted by mistake 2022-01-19 13:26:58 +01:00
enricoturri1966
dc75a59115 Added command Export as OBJ 2022-01-19 12:39:04 +01:00
enricoturri1966
4b4d1c2f2a #7773 - Fixed GCodeReader::parse_line_internal() to skip whitespaces between axis digit and axis value 2022-01-19 12:08:00 +01:00
enricoturri1966
f2a7245f36 Fixed Z-fighting in GCode preview when using GCode substitution 2022-01-19 09:28:50 +01:00
enricoturri1966
76ce53f095 Tech ENABLE_Z_OFFSET_CORRECTION - Correction of toolpaths zs when z offset is set 2022-01-18 15:53:59 +01:00
enricoturri1966
bebb5505a3 Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Selection layers hints 2022-01-18 13:47:19 +01:00
enricoturri1966
d09a0cea83 Merge branch 'dev' of https://github.com/prusa3d/PrusaSlicer into dev 2022-01-18 10:48:56 +01:00
enricoturri1966
22f38235ea Tech ENABLE_GLBEGIN_GLEND_REMOVAL - 1st installment - Selection bounding box 2022-01-18 10:42:46 +01:00
YuSanka
fec654513e Merge remote-tracking branch 'origin/master' into dev 2022-01-18 08:41:10 +01:00
enricoturri1966
8be67bc4d6 Fixed warnings 2022-01-18 08:20:04 +01:00
enricoturri1966
2cebe16663 Tech ENABLE_WIPETOWER_OBJECTID_1000_REMOVAL - Removal of wipe tower magic object_id equal to 1000 2022-01-17 15:56:58 +01:00
Filip Sykala
b4af5049d6 Merge branch 'dev' into fs_simplify_multipart_object 2022-01-17 14:30:13 +01:00
YuSanka
2cc20594a4 Localization: Updated POT
+ Fixed some phrases in Preferences and Hints
+ fixed #7588 - Typo in new help feature in 2.4.0
2022-01-17 13:42:35 +01:00
YuSanka
f497ba7bf0 Follow-up to 99f510d4 - fixed a typo 2022-01-17 12:29:47 +01:00
YuSanka
106e520a10 Invalidate print when G-code substitution is changed
+ DiffDialog: Fixed get_string_value() for "gcode_substitution"
+ some code refactoring :
    For PresetCollection added is_independent_from_extruder_number_option(opt_key)
    to check if option is from the list of options with vector variable, which is independent from number of extruders
2022-01-17 12:29:47 +01:00
YuSanka
3a81dd5c5a Completed UI for G-code find & replace 2022-01-17 12:29:47 +01:00
YuSanka
8a387fc52d WIP: First IU implementation for G-code substitutions 2022-01-17 12:29:47 +01:00
Vojtech Bubnik
aa62868ccb WIP G-code find & replace: Unit tests and some bug fixes. 2022-01-17 12:29:47 +01:00
Vojtech Bubnik
2da3d80a62 Fixing compilation on non-MSVC. 2022-01-17 12:29:46 +01:00
Vojtech Bubnik
d4fd95bd4a WIP: G-code find & replace: Support for non-regular expression,
whole word and case insensitive search.
2022-01-17 12:29:46 +01:00
Vojtech Bubnik
add1e994fa WIP G-code Find-Replace: Optimize regexps, process complete G-code,
not only G-code of layers.
2022-01-17 12:29:46 +01:00
Vojtech Bubnik
658f01b64b WIP: G-code find / replace using a new gcode_substitutions PrintConfig
parameter.
2022-01-17 12:29:46 +01:00
Lukáš Hejl
c54b8908dd Follow-up of 878dce1fdf. 2022-01-17 12:25:02 +01:00
Lukáš Hejl
878dce1fdf Workaround for "Internal compiler error" in 32-bit MSVC (19.29.30037) compiler after dc00f0bf98. 2022-01-17 12:22:19 +01:00
enricoturri1966
cfe8aa4818 Tech ENABLE_OBJECT_MANIPULATOR_FOCUS - 1st installment - Do not automatically set focus on 3D scene while hovering on it while the focus is into a field of the object manipulator 2022-01-17 12:17:59 +01:00
David Kocik
76abbe97f6 fix of of unchecked substr in Upload Dialog
possible fix of #7681
2022-01-17 11:14:30 +01:00
Filip Sykala
cb72f40d9a Merge branch 'dev' into fs_simplify_multipart_object 2022-01-17 10:00:21 +01:00
Filip Sykala
45cf381635 Merge branch 'dev' into fs_simplify_multipart_object 2022-01-17 08:24:52 +01:00
enricoturri1966
403f6d45f9 Refactoring - Removed member variable GLVolume::force_transparent 2022-01-17 08:24:46 +01:00
enricoturri1966
6f9efbf19a Follow-up of 9190810c1f - Modified code to use the new ColorRGBA 2022-01-17 08:16:13 +01:00
enricoturri1966
a9bd58639c Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into dev 2022-01-17 08:05:41 +01:00
enricoturri1966
9190810c1f Fixed volume transparency when changing volume type 2022-01-17 08:04:07 +01:00
Filip Sykala
0b2a52f916 Merge branch 'dev' into fs_simplify_multipart_object
# Conflicts:
#	src/slic3r/GUI/GLModel.hpp
#	src/slic3r/GUI/Gizmos/GLGizmoSimplify.cpp
#	src/slic3r/GUI/Gizmos/GLGizmoSimplify.hpp
2022-01-16 19:21:02 +01:00
Lukas Matena
200cbd165f Changed texts in the new 'crashed when restoring position' dialog 2022-01-14 17:26:19 +01:00
YuSanka
32ff20dbc7 Revert buttons are added for options which have no related field but some widgets (like buttons)
+ Code refactoring: variables contained an information about revert buttons and functions to update them are extracted to the separate class UndoValueUIManager.
And Field and Line classes are inherited from UndoValueUIManager now.
2022-01-14 16:00:20 +01:00
enricoturri1966
88521bb839 Fixed GLVolumeCollection::update_colors_by_extruder by using ColorRGBs in place of ColorRGBAs 2022-01-14 14:13:43 +01:00
Lukas Matena
c28615cfcb Bumped up version number to 2.4.1-alpha0 2022-01-14 12:09:52 +01:00
enricoturri1966
6b02e72987 Fixed warning 2022-01-14 11:31:16 +01:00
enricoturri1966
f09c3e1118 Techs ENABLE_NEW_CAMERA_MOVEMENTS_CTRL_ROTATE, ENABLE_NEW_CAMERA_MOVEMENTS_MIDMOUSE_ROTATE and ENABLE_NEW_CAMERA_MOVEMENTS_SHIFT_SELECTION moved to 2.5.1.alpha1 2022-01-14 11:28:20 +01:00
enricoturri1966
72b8b75c4c Merge branch 'dev' of https://github.com/prusa3d/PrusaSlicer into et_new_camera_movements 2022-01-14 11:24:31 +01:00
enricoturri1966
8033bb654a Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into dev 2022-01-14 11:07:47 +01:00
enricoturri1966
35f15739d1 Refactoring in ColourPicker::get_value() 2022-01-14 11:05:05 +01:00
enricoturri1966
ece2c34e58 Another warning fix 2022-01-14 11:03:08 +01:00
enricoturri1966
d7f028a981 Fixed warning 2022-01-14 11:00:43 +01:00
enricoturri1966
b9b702d550 Fixed conflicts after merge with branch dev 2022-01-14 09:55:13 +01:00
enricoturri1966
2549b5ff48 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_new_camera_movements 2022-01-14 08:28:11 +01:00
enricoturri1966
6201dad245 Tech ENABLE_COLOR_CLASSES set as default 2022-01-14 08:19:00 +01:00
Lukáš Hejl
dc00f0bf98 Modified variable offset in the avoid crossing perimeters to not cause scars on thin objects (#7699).
Previously, the minimum contour width was chosen too conservative and, on some thin objects, only allowed minimal (or non) offset. This could result in travels being planned along the outer perimeter.

Now, the minimum contour width is chosen much smaller at the start and tested if the variable offset wasn't failed (the outer contour broke up into more parts, more or fewer holes, etc.).
If any problem is detected, the variable offset is recalculated with a larger minimum contour width.
2022-01-14 00:59:25 +01:00
enricoturri1966
7ab39f6255 Fixed warning 2022-01-13 08:08:40 +01:00
enricoturri1966
a677f7f881 Merge branch 'dev' of https://github.com/prusa3d/PrusaSlicer into et_color_class 2022-01-12 15:54:55 +01:00
enricoturri1966
a2dc1cd446 Fixed conflicts after merge with dev branch 2022-01-12 15:54:48 +01:00
enricoturri1966
980c66ab4f Fixed conflicts after merge with master 2022-01-12 15:52:34 +01:00
enricoturri1966
d9c7855c39 Fixed tooltips for imgui sliders in GLGizmoHollow 2022-01-12 15:49:13 +01:00
YuSanka
657fb125ff After merge fixes 2022-01-12 15:14:45 +01:00
YuSanka
ced6d26917 Merge remote-tracking branch 'origin/master' into dev 2022-01-12 15:05:31 +01:00
enricoturri1966
0cb0f56a80 Tech ENABLE_ENHANCED_PRINT_VOLUME_FIT set as default 2022-01-12 14:12:13 +01:00
enricoturri1966
243f5c38ee Tech ENABLE_ENHANCED_IMGUI_SLIDER_FLOAT set as default 2022-01-12 13:36:31 +01:00
YuSanka
cd159ef298 Fix for #7734 - Saving Dialog: Values are truncated
Info line was "lost" after big code refactoring 4cdcfe60

+ MsgDialog: Added missed include
2022-01-12 12:55:20 +01:00
enricoturri1966
b4308f4245 Tech ENABLE_MODIFIERS_ALWAYS_TRANSPARENT set as default 2022-01-12 12:35:36 +01:00
Vojtech Bubnik
123fc13123 Fixing perl tests. 2022-01-12 11:46:51 +01:00
YuSanka
090a424c1a Fix for detection of the DoubleSlicer mode 2022-01-12 11:21:57 +01:00
YuSanka
5a2925466d Follow-up to 1dffc40f32 - Fixed a message text.
+Improved context of the MessageDialogs. We can use hyperlinks now.
2022-01-12 11:19:59 +01:00
YuSanka
1dffc40f32 Follow-up to 010fbded1a - Save app_config before a place of potential crash + fixed non-MSW build 2022-01-11 14:22:40 +01:00
YuSanka
010fbded1a Added "Restore window position on start" option to the "Preferences > General"
+ added crash detection for the cases, when PrusaSlicer is started from secondary display

Possible fix for part of:
 #2939 - PrusaSlic3r freezing at startup (Win 10)
and
 #5573 - PrusaSlicer won't launch on secondary monitor. Nahimic?
2022-01-11 13:53:25 +01:00
tamasmeszaros
3a1eee0f21 Clarify comments for thread safe queue
Cleanup
2022-01-11 11:26:26 +01:00
tamasmeszaros
0fbe700140 Add timeout for plater stopping the UI jobs. 2022-01-11 11:26:26 +01:00
tamasmeszaros
43f5e61b5f Add possibility to wait for current job to stop. 2022-01-11 11:26:26 +01:00
tamasmeszaros
4d0088e72f Replace std::variant with boost::variant
Unavailable on MacOS < 1.14
2022-01-11 11:26:26 +01:00
tamasmeszaros
583c123c97 Rename start_next() to push
PlaterJob refinements
2022-01-11 11:26:26 +01:00
tamasmeszaros
7e070d393e Fix issue with non atomic transition to running state
After popping a job from input queue
2022-01-11 11:26:26 +01:00
tamasmeszaros
7352e1a01a Basic tests for BoostThreadWorker
Separate job tests
2022-01-11 11:26:26 +01:00
tamasmeszaros
17f4b1bea3 Avoid issue with invisible status indication. 2022-01-11 11:26:26 +01:00
tamasmeszaros
3be7d5f0dc Make a PlaterWorker to handle PlaterJobs 2022-01-11 11:26:26 +01:00
tamasmeszaros
a802bdc764 Prevent accidental stopping of BoostThreadWorker before destruction 2022-01-11 11:26:18 +01:00
tamasmeszaros
2b25c6fab2 Clarify doc comment for replace_job 2022-01-11 11:26:18 +01:00
tamasmeszaros
b53ff75cf4 Rework UI jobs to make them more understandable and flexible. 2022-01-11 11:26:18 +01:00
enricoturri1966
7274d2bb6e Fixed warning 2022-01-11 09:43:43 +01:00
enricoturri1966
acd225cee2 Techs ENABLE_NEW_CAMERA_MOVEMENTS_XXXX - 1st installment - Modified camera manipulation and selection by mouse 2022-01-11 09:09:09 +01:00
Vojtech Bubnik
a591d9e9fe Implemented new placeholders for output file name:
1) "initial_filament_type", "printing_filament_types" - really useful
   for multi-material prints

the two other are not so useful, they may become useful once
the output file name template will support not yet defined
vector variables:
2) "initial_tool", "initial_extruder" - zero based index of first extruder
3) "num_printing_extruders" - number of printing extruders.

Fixes Filename incorrect when exporting G-Code with MMU. Always refers filament type in extruder 1 #5300
Fixes Export Filename nicht richtig #7673
Fixes wrong filename - always Filament in from the first extruder #7684
2022-01-10 17:57:03 +01:00
Vojtech Bubnik
4ebfe58352 Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer 2022-01-10 15:24:27 +01:00
Vojtech Bubnik
07d0484e32 Fix of Empty G1 before starting bridging perimeter #7714 2022-01-10 15:24:19 +01:00
David Kocik
411acf7332 followup on 16fd7cd5d1
cleanup
2022-01-10 14:38:58 +01:00
David Kocik
16fd7cd5d1 Fix of conversion of strings in Print host queue dialog 2022-01-10 14:34:35 +01:00
Lukas Matena
da8e4b6fda Some more beautifications 2022-01-10 12:56:03 +01:00
Lukas Matena
85f98b880a Hide min feedrate from machine limits page for RRF (which does not use them) 2022-01-10 12:52:21 +01:00
Lukas Matena
b3726f1f88 Fixed RRF time estimate,
so it does not use  min feedrate limits from previously selected printer (RRF itself does not support them)
2022-01-10 12:52:21 +01:00
Lukas Matena
f3e14865e5 Minor tweaks in machine limits handling:
- renamed some variables so the names are not misleading
- improved readability a bit
- disabled silent mode for RRF (it was apparently enabled by mistake)
- set default value of machine_limits_usage to TimeEstimateOnly
2022-01-10 12:52:21 +01:00
n8bot
bfb721f302 Add compatibility for Machine Limits and RRF (PR #7347) 2022-01-10 12:52:21 +01:00
Vojtech Bubnik
c5d1e2449c Fix of #7583: Wizard crashes due to accessing undefined AppConfig section. 2022-01-10 08:26:33 +01:00
tamasmeszaros
cac2a9f117 clean up obsolete includes 2022-01-07 14:27:43 +01:00
tamasmeszaros
ac6611e374 Performance optimization for SLA rasterization step
Do not use a gamma function (a pow call for every pixel) if exponent is near 1.0
2022-01-07 10:18:39 +01:00
tamasmeszaros
ce81c02049 Fixing corrupted SLA pad
fixes SPE-1157
2022-01-07 10:09:20 +01:00
David Kocik
747cf8a0fe partial fix of #7583
Disabled sending of system message at shutdown on OSX Sierra and older.
2022-01-06 15:00:45 +01:00
enricoturri1966
ac90d3d5c2 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_spiral_vase_layers 2022-01-06 14:08:18 +01:00
YuSanka
2b66a81ee1 Preferences: Changed tooltip for the "Suppress to open hyperlink in browser"
+ Show "PrusaSlicer: Don't ask me again" dialog when "Remember my choice" is checked in "PrusaSlicer: Open hyperlink" dialog
+ Ignore suppress of hyperlink for menu items
+ Code refactoring for OptionsGroup::launch_browser() => use common wxGetApp().open_browser_with_warning_dialog().
2022-01-06 13:55:40 +01:00
enricoturri1966
e031001f0a Follow-up of d2e495c700 - Fixed other warnings 2022-01-06 13:29:28 +01:00
enricoturri1966
3c43d0ae43 Follow-up of ffe678e0ea - Re-enabled 'Export to STL' command for modifiers 2022-01-06 13:00:36 +01:00
enricoturri1966
d2e495c700 Fixed warning 2022-01-06 12:34:00 +01:00
enricoturri1966
7ed80e0a8d Tech ENABLE_SPIRAL_VASE_LAYERS - 1st installment - Per-layer preview for spiral vase mode 2022-01-06 11:43:05 +01:00
YuSanka
19f919eca1 Implementation of the Preferences option "Ask for unsaved changes in project" 2022-01-06 10:39:12 +01:00
David Kocik
3f14484eca Moved Odaki's implemetation of searching for end of utf8 sequence to separate function.
+ Fix of 0xC0 in trailer bytes 
followup on fff862a5ae
2022-01-05 14:45:56 +01:00
odaki
fff862a5ae Fix garbled text in Hint
Fixed a problem where CJK characters at the end or beginning of a line were sometimes not displayed correctly.
2022-01-05 14:44:22 +01:00
enricoturri1966
8d638a77e5 Refactoring of GLCanvas3D::check_volumes_outside_state() to prevent assert while using SLA printer 2022-01-05 11:17:39 +01:00
Lukáš Hejl
1aac99b809 Fix of #7618 (Crash in the multi-material segmentation when a negative volume was used on painted areas of a model.) 2022-01-05 11:11:29 +01:00
enricoturri1966
ba643fa5fa Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2022-01-05 10:23:55 +01:00
enricoturri1966
ffe678e0ea #7647 - Re-enabled 'Export to STL' command for volumes. It was working in 2.3.3 and got disabled somehow. 2022-01-05 10:23:48 +01:00
YuSanka
9bbcfb80b1 Some beatification for Sliced Info: "Used Filament" is moved to the first place 2022-01-05 09:47:34 +01:00
YuSanka
7d6d98cd0f MSW-specific: FirmwareDialog: Fixed color of the text when firmware flashing is done
+ Deleted some commented code
2022-01-05 09:40:39 +01:00
Vojtech Bubnik
3aad2a9f4a Cancelling "fix by netfabb" may leave output file handler to a temp file
opened. This is fixed now.

Fixes Memory leak when exporting to netfabb and cancelling #7632
2022-01-04 17:29:24 +01:00
YuSanka
b5c45762c9 Follow up to 229df98386 - fixed non-MSW builds 2022-01-04 17:16:16 +01:00
YuSanka
229df98386 MSW specific: Highlight a focused buttons
Fix for #7564 - Button in focus is not highlighted anymore in PS 2.4 (accessibility issue)
2022-01-04 16:39:10 +01:00
YuSanka
34d9fbdc35 Fixes for localization of the PrusaSlicer - 2.4.0
* Added some missed phrases.
* Added some missed files to the list.txt
* Fix for https://github.com/prusa3d/PrusaSlicer/issues/7114 - Reword of the "Ask for unsaved changes..."

* Fix for https://github.com/prusa3d/PrusaSlicer/issues/7542 - Added localization for default buttons Yes/No
  Note: For some default buttons/labels/dialogs/... is used localization in wxWidgets.
        But dictionaries have to contain this strings, otherwise texts wouldn't be localized.
        "wxWidgets/local" contains dictionaries for all this default phrases.
        So, a copy of this field is added as a "wx_local" field to the "resources/localization" field.
        And a "gettext_concat_wx_po_with_po" script is written to concatenate strings from wx_local/lang_code.po to resources/localization/lang_code/PrusaSlicer_lang_code.po.
        So, to create a MO file from updated PO we have to execute "gettext_concat_wx_po_with_po" and only then execute a "gettext_po_to_mo" script.
2022-01-04 16:31:27 +01:00
enricoturri1966
0df7efe462 #7550 - Fixed error message when trying to import an invalid stl for commands 'Reload from disk' and 'Replace with STL' 2022-01-04 09:57:45 +01:00
Lukas Matena
a554f1fb08 One more speedup of place on face 2022-01-03 16:29:26 +01:00
Lukas Matena
b034402912 Fix of slow place on face on complex models #7587 2022-01-03 15:20:14 +01:00
enricoturri1966
1019792884 Fixed conflicts after merge with dev branch 2022-01-03 10:09:38 +01:00
enricoturri1966
34a640a4a9 Merge branch 'dev' of https://github.com/prusa3d/PrusaSlicer into et_color_class 2022-01-03 09:33:05 +01:00
YuSanka
86657523e3 MSW specific: Highlight a focused buttons
Fix for #7564 - Button in focus is not highlighted anymore in PS 2.4 (accessibility issue)
2021-12-23 19:09:27 +01:00
YuSanka
2458c4339b Merge remote-tracking branch 'origin/master' into dev 2021-12-23 18:31:32 +01:00
YuSanka
c767781827 Code refactoring for Highlighter class 2021-12-22 14:38:50 +01:00
YuSanka
f2aeca3a71 Options from the "Preferences" dialog added to the Search
Some code refactoring:
* use GUI_App::open_preferences() on all places where it's needed
* Preferences Dialog is an attribute of a ManeFrame class and created just ones during the MainFrame creation now.
* Created class Highlighter. Use it in Preferences and Tab
2021-12-22 14:38:23 +01:00
enricoturri1966
9596b2d8b4 Fixed warning 2021-12-22 11:45:26 +01:00
enricoturri1966
ab99a7865f Fixed build of test_color.cpp on non-Windows OSs 2021-12-22 11:31:35 +01:00
enricoturri1966
c44fd43307 Fixed warning 2021-12-22 11:12:46 +01:00
enricoturri1966
e77f89cf5d Fixed build on non-Windows OSs 2021-12-22 11:07:10 +01:00
enricoturri1966
d1822f3ca2 Merge branch 'dev' of https://github.com/prusa3d/PrusaSlicer into et_color_class 2021-12-22 10:50:59 +01:00
enricoturri1966
cd4094743e Tech ENABLE_COLOR_CLASSES - 1st installment -> Introduction of classes ColorRGB and ColorRGBA to unify color data definition and manipulation 2021-12-22 10:45:35 +01:00
Vojtech Bubnik
215e845c31 Fixed FDM support generator for object layers lower than minimum
layer height enabled for an extruder.
2021-12-21 16:57:35 +01:00
Vojtech Bubnik
15d95e4264 Fix of Can't add Filament in RC2 #7544 2021-12-21 13:20:47 +01:00
Vojtech Bubnik
53af2fc0b8 Fixed crash in send system info dialog due to empty prerelease string. 2021-12-21 10:34:55 +01:00
YuSanka
f2e2b03fa4 Follow-up to 942c6ea7d8 - an assert is commented.
Note: value can be equal to zero, when move.type==Travel
2021-12-20 16:19:17 +01:00
YuSanka
2419357a88 Non-MSW specific: Fixed a default focus for message dialog
See https://twitter.com/ZMelmed/status/1472678454168539146
2021-12-20 16:01:09 +01:00
Vojtech Bubnik
942c6ea7d8 Follow-up to 2e250c1463
2f63805857
The issue was caused by 2e250c1463
that did not do the binning of floating values well for small numbers,
small numbers were rounded to zero.
The new code now rounds to two significant digits similarly to
sprintf(buf, "%.2g", value)
2021-12-20 14:47:51 +01:00
enricoturri1966
2f63805857 #7522 - Fixed toolpaths height calculation for ironing extrusion role 2021-12-20 11:17:44 +01:00
Raphael Sobik
293715a6de
Fixes setting tool on reprapfirmware (#7536)
The if branch already contains the correct code for RepRapFirmware, but the condition misses the check for the RapRapFirmware flavour.
2021-12-20 11:03:36 +01:00
Vojtech Bubnik
ef66087355 Fixed crash when exporting G-code with no extrusions generated
for printable object.
Fixed by cancelling slicing process and emitting an exception
to show a notification.
Fixes carsh #7538
2021-12-20 08:30:54 +01:00
Lukáš Hejl
62d9f73d78 Fixed use of an uninitialized variable in TriangleSelector caused the cursor radius in TriangleSelector to be mistakenly reset after undo. 2021-12-17 18:20:43 +01:00
YuSanka
5dfbea2c10 Squashed commit of the following:
commit 79e58944b3c08e429d7dbb6592d0b758fbc9c3c4
Author: YuSanka <yusanka@gmail.com>
Date:   Fri Dec 17 14:38:49 2021 +0100

    Localization: Fixed some phrases for RU dictionary (see last comments to https://github.com/prusa3d/PrusaSlicer/pull/7501)
    + Fixed no needed formatting in CA dictionary

commit 44536ecebc41551a8129650cf882d2aefccbe1a5
Merge: 47df9458f 96485a044
Author: YuSanka <yusanka@gmail.com>
Date:   Fri Dec 17 14:26:01 2021 +0100

    Merge branch 'master' of https://github.com/AndylgTom/Slic3r into AndylgTom-master

commit 96485a044a51d97828b7e77cfd8af12e7bb35152
Author: Andy <andylg@yandex.ru>
Date:   Thu Dec 16 23:41:46 2021 +0700

    Update PrusaSlicer_ru.po

    Пофиксил указанные замечания

commit 52f7b9e5b62895dfab906150e25b6da4d260fcc1
Author: AndylgTom <andylg@yandex.ru>
Date:   Wed Dec 15 15:56:31 2021 +0700

    Russian localization update for PrusaSlicer-2.4.0-rc

    Russian localization update for PrusaSlicer-2.4.0-rc+win64-202112141553
    Please check those lines where there are three questions "???". There are 12 such lines.

    Обновление русской локализации для PrusaSlicer-2.4.0-rc+win64-202112141553
    Прошу проверить те строки, где встречаются три вопроса "???". Таких строк 12.

commit 387ca46d8a101ee9b01963c379bef7bca45f0dfb
Author: Andy <andylg@yandex.ru>
Date:   Thu Jan 14 11:53:08 2021 +0700

    Update PrusaSlicer_ru.po

commit ddef2cd1ef728be28aae62e9269fa3e65d8a1d32
Author: Andy <andylg@yandex.ru>
Date:   Thu Jan 14 11:49:59 2021 +0700

    Update PrusaSlicer_ru.po

commit 94e3946875865f141aff61fabcc121d81775b0ac
Author: Andy <andylg@yandex.ru>
Date:   Thu Jan 14 11:20:53 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 0e97fd9e4ee92d1c2d525401d3294cf9b872bc27
Author: Andy <andylg@yandex.ru>
Date:   Thu Jan 14 11:20:27 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit fc452d215ec6d724794a1799d297cc31fe412234
Author: Andy <andylg@yandex.ru>
Date:   Thu Jan 14 11:18:05 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 702b0f5a322d122cb028b748ae044c5d88b0ef24
Author: Andy <andylg@yandex.ru>
Date:   Thu Jan 14 11:14:32 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 3b56531fb06bbb49a620154524a1a75371ea73e5
Author: Andy <andylg@yandex.ru>
Date:   Thu Jan 14 11:13:19 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 0d5fcd9d801e4ff0aeb432f61f730d68a12bb9a5
Author: Andy <andylg@yandex.ru>
Date:   Thu Jan 14 11:13:01 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 0e0047d0742ba597b8854f8a9bc72002c9e429ce
Author: Andy <andylg@yandex.ru>
Date:   Thu Jan 14 11:11:06 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 0d3ec8517034df62ebd0923bbc05f3c63d316684
Author: Andy <andylg@yandex.ru>
Date:   Thu Jan 14 11:10:42 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 596df1a6909e58cbbb6b0bbc1a30cbfaff2460e2
Author: Andy <andylg@yandex.ru>
Date:   Thu Jan 14 11:10:10 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 2086358438670eebe51f7241a59bea1dbcce9eda
Author: Andy <andylg@yandex.ru>
Date:   Thu Jan 14 00:36:19 2021 +0700

    Update PrusaSlicer_ru.po

    USB-разъём

commit e2adfc752742861f2242caa7db893e317d3e4382
Author: Andy <andylg@yandex.ru>
Date:   Thu Jan 14 00:20:01 2021 +0700

    Update PrusaSlicer_ru.po

    нить -> пруток

commit 3db9c2f678e5bb3f56a7192e66b75a7852c66b60
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 23:10:22 2021 +0700

    Update PrusaSlicer_ru.po

commit 6f8a9de9247334e2ec683a234feb10371c1dc0e6
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 23:01:41 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 57c0ad1c27c70bb3d18403c067a3842f598bd191
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 23:00:03 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 8db333ac63e8962efd0bcf3efbc632164172be95
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 22:41:27 2021 +0700

    Update PrusaSlicer_ru.po

commit e7cdc325209e187c8fec54bf02606172e3bd3b89
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 22:38:56 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 943c514d8c5f8000174dfe51e6c5feead5849b67
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 22:17:26 2021 +0700

    Update PrusaSlicer_ru.po

    Выбор\...

commit d83a85f2418f24d8793c90ab0e705003c739a4e0
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 22:08:26 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 792849721a975d7bbd8b99f23e0584d31042766b
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:44:58 2021 +0700

    Update PrusaSlicer_ru.po

commit ef19ef3030b79045bc0e1f483530b8cd7a1da11d
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:41:25 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit a21dee7052f1c79853c9316a1a9b5bfe3d716428
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:33:15 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 07f3da91472824409fdf95cf4660959ad652c334
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:32:21 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit e1f948b37955b88209c087d52ff20e1bc6640683
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:20:31 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit d74900bacac7ba9eb340dcd07b36098d23369e64
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:19:35 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit d64d56191d924b897b030a03a791741c6be07657
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:18:39 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 49f071ec9d22dbecb47102e0f658cc137f9b9639
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:17:51 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 2af9eaad0016ec6c9c4f4b4cef1658d6f16a3e08
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:17:11 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit b0042f9077d803bb1fdb04abb3d844b0291411e9
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:16:22 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit dddfd61936ae9f09ef757e7e76af07cfb375f028
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:14:52 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 7466bbc37d971dbe67b072f2d7350393c196a4e5
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:14:21 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 759130b8116eaec794fd964edcee49d0d62f291d
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:13:34 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit c66d33000be4c6625d754e9066dc7ac930ae59da
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:12:33 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit cb75e4bf61161bf2ed75998ae13b63a1990310ad
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:10:06 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 65d0167bc2f1d8937edfd3c91f28ba1005d885cf
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:09:05 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 4c43e1c28f61976324cbbad3d89277d3e9abe051
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:07:35 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit a75b38ada68240e0df9dfb754eab08651775ea41
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:06:25 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit ed56a52747483262440e0331ec2d8518e1f81dc2
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:05:15 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit c1f2f58d1d0f888f875f0db0d0580f3063f0e178
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:04:43 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit e4e6519006c23f0a7d0029db41c2ed6ed4ff918a
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:03:53 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit fb7de82d9d672040ac632c2fe9d3c69c67da85a8
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:03:11 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit ce2182117d5e3f2e76c2ab0ffc0f9bd2ccf97f37
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:02:10 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit e46e0584e21c72116a866c7c20275e32ce387315
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:01:43 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit fa1dfe5add4dde9e73561d15568720321b8edbc7
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:00:49 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 17a6da79188fbd7878b3007016e0313f193e6a67
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 21:00:18 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 00d675e20e79915f46a8ace8ef4f5d3c19f84fec
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:59:22 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 0d60f4db0b20350f75d1b2c804b9f89b23784b4c
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:58:50 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 29218c1cc1c154b0be3545ddde67eafce4af01c7
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:58:24 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit a051c50e4bdd7c6b6e69d86e231eddfe7e2f3e1b
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:57:44 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit ea7d25cd85f934c6a59eac5afe5fcbc93c496b3a
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:56:43 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 40382f84cd8c3673ce7e3f6a21811308bb271cf5
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:56:06 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 481f96827a7f0ce1d3ad256b3966642d59272fcf
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:53:29 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 372052034ab50618232507663da6ff411c244d38
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:52:47 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 11eb973a47a77b3b1b392a6534b0575d5c6e2fa3
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:51:51 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit c363477b2b84f3065f65b5fd5f4e4c1fd51a09f7
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:50:33 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 732fbf1d9cdb8b185c6a4bc423d0fd9a386e52a1
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:49:51 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 36e88e76aaaa4e106e483330f3a2a4c9d89c48d7
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:49:25 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit dbc1f2eeab9a2b15bf09779960feff881c8d788c
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:48:32 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 1ca4e35ffd4dca4d779e91886134ee1cef5b294c
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:47:50 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 209779fcd6f008f827b2a1991bad74ed010514e6
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:46:59 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 29bc1b370b444e51ebe0a3e66139f3bc833ea4ce
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:46:03 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit cea039e9a60f5808be296fff69e43ea27b6a2714
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:45:18 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit be48ee82d2a066df2dc6e4daaa2876a962ae4804
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:44:48 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit f61990e12db90385a66e992d55f4cd9b10b907b8
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:44:15 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 0aadf3d551f3abbca81af1daf6956fc7fce9affe
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:43:44 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 2ae2e9402bc39717f4804089b4466e77c0dff18a
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:43:13 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 4cdea4b9fa6911140e1a6c68f8084ac85181dab8
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:42:44 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 2289cc62215ceee9825787348a2cb12c3cd8327f
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:42:27 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit f8e844f43ff98c61b1dc1b31bef614a45b63651b
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:42:02 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 45d11889748eedfb6fe868b33af4d155dca98bd6
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:41:35 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit e1a5b07c12a889996243353e97f6c2794d62e569
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:40:43 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 679fe59818b5e797140ef6d52966461f1496bbe6
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:39:50 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit abdb6d17d51e73075ae15e107abf4d3af0d950d5
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:38:44 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 1c55ed72425bd7329d26f26a3ddad12b109aaeb5
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:38:13 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit d1cdff3ee7fb3f5079a4a393f0cad7871c22d9ee
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:38:03 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 49e22e3341dfba5064b1ea6ee2e9e7e315385cc8
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 20:37:06 2021 +0700

    Update resources/localization/ru/PrusaSlicer_ru.po

    Co-authored-by: Oleksandra Yushchenko <yusanka@gmail.com>

commit 74620d591da0742350b3b41952a66354f0f63c96
Author: Andy <andylg@yandex.ru>
Date:   Tue Jan 12 16:36:41 2021 +0700

    Update PrusaSlicer_ru.po

commit c220687f7e1d21798dd90d1be15e62decda548fb
Author: AndylgTom <andylg@yandex.ru>
Date:   Sun Jan 10 03:00:24 2021 +0700

    Updating the Russian translation PrusaSlicer-2.3.0-rc3

    Updating the Russian translation PrusaSlicer-2.3.0-rc3 by Andylg
2021-12-17 14:55:13 +01:00
YuSanka
1955baa14b GUI_ObjectList: Get list of the loaded files before a taking of Undo/Redo snapshot
+ Fixed localization for the "Post processing" description line
2021-12-17 12:49:55 +01:00
enricoturri1966
1fe4ba289b Merge remote-tracking branch 'origin/et_fix_7464' into dev 2021-12-17 12:08:41 +01:00
enricoturri1966
a593577a28 Merge branch 'dev' of https://github.com/prusa3d/PrusaSlicer into et_fix_7464 2021-12-17 11:50:33 +01:00
enricoturri1966
49b41628aa Merge branch 'dev' of https://github.com/prusa3d/PrusaSlicer into dev 2021-12-17 11:47:21 +01:00
enricoturri1966
f7513b61e7 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into dev 2021-12-17 11:47:07 +01:00
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
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 acee3ff1f9
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 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
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