Commit Graph

18626 Commits

Author SHA1 Message Date
enricoturri1966
1a47211bfc Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Textures rendering 2022-01-28 16:50:07 +01:00
Jebtrix
cfdf7d2a00
Add msbuild low CPU priority option for polite compiling. (#7828) 2022-01-28 15:13:11 +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
deb17c5920 Merge branch 'lh_leak' into dev 2022-01-28 14:48:37 +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
ba84240a85 Fixed unit-tests of GCodeFindReplace
Follow-up to 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-28 11:02:06 +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
Vojtech Bubnik
38af8c5563 Fixed wording inside a CMAke comment 2022-01-27 15:59:39 +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
725a45f112 Localization: Added Hungarian dictionary. Thanks for Attila Zombori(https://github.com/zomatt) 2022-01-27 10:29:03 +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
e20a06a850 Localization: Updated POT and dictionaries for CZ, PL, IT, ES, DE, FR
+ Added one phrase in Tab.cpp
+ POs for CA, KR, NL, BR, RU, TR, UK, ZH are merged with new POT
2022-01-26 09:24:05 +01:00
YuSanka
35bc327127 Follow-up to a7520f47a6 " add IU for "Match single line" 2022-01-25 17:26:21 +01:00
Vojtech Bubnik
7ba5a2f5bc GCodeFindReplace - single line option unit tests. 2022-01-25 16:54:16 +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
cd24594555 Merge branch 'lm_seam_240_no_stagger_improved' 2022-01-25 15:40:50 +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
rtyr
eb1463d46a
Fixed texture extension 2022-01-25 15:23:53 +01:00
rtyr
b8904202d9
Texture size fix 2022-01-25 14:31:16 +01:00
rtyr
dd7b43ae11
Bed texture 2022-01-25 14:18:20 +01:00
rtyr
321b656ccc
Added texture 2022-01-25 14:14:27 +01:00