Commit Graph

9947 Commits

Author SHA1 Message Date
enricoturri1966
cca1454c38 Tech ENABLE_VOLUMETRIC_RATE_TOOLPATHS_RECALC - Recalculate toolpaths when switching to/from volumetric rate visualization 2022-02-10 12:06:12 +01:00
enricoturri1966
1d0af50a94 GCodeProcessor - Added processing of gcode line M220 2022-02-10 10:41:38 +01:00
Filip Sykala
74cf6649f3 Merge branch 'master' into fs_mouse 2022-02-10 10:26:04 +01:00
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
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
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
8033bb654a Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into dev 2022-01-14 11:07:47 +01:00