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 a7520f47a66551e95a35bfe124c082c54eefb789 " 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 f2a7245f365570660b85755003b45cc448117c76 - 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 0e173e3f825f7d7fc0fdedeae265f17c857319b0 - 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 e12cf58c913017ceab660b6f4ef9ba8c6f6dc19d
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