Commit Graph

17452 Commits

Author SHA1 Message Date
Boleslaw Ciesielski
22b2ccc474 Fixes issue #5979 - NULL pointer crash in ModelObject::split()
ModelObject::split() expects a non-NULL new_objects vector where it adds pointers to the new models resulting from the split.
But in the CLI case the caller does not care about this and passes NULL which causes a crash. To fix the crash we could pass
a dummy vector but it turns out that we actually have a use for the results because we should assign a unique name to each
new model the same way as the GUI does. These names show up as comments in the gcode so this change makes the gcode produced
by the GUI and the CLI more similar and diffable.

@lukasmatena has amended the original commit by @combolek (pull request #5991) in order to avoid code duplication
2021-02-10 12:30:06 +01:00
Vojtěch Bubník
3472c8d1e4
Merge pull request #5042 from cpinamtz/feature/build_on_linux
Make clearer Linux instructions
2021-02-10 11:36:10 +01:00
Vojtěch Bubník
eaf6e0dca7
Merge pull request #6000 from xorza/postprocessing_moved_to_temp_dir
Postprocessing moved to temp dir
2021-02-10 11:29:59 +01:00
YuSanka
3c37aed2f8 Fixed old (MSW specific) focus issue:
Description of issue:
When for some parameter set a value which is out of rage or inaccurate and than click to another parameter,
receive a warning message dialog with description of a problem.
After closing of this Dialog any button on settings tab doesn't work for first click.
Looks like after dialog is closed Notebook page loses a focus.
Workaround:
Use self-created WarningDialog (inherited from the wxDialog) instead of wxMessageDialog
2021-02-10 11:25:07 +01:00
Vojtěch Bubník
ba95a93a68
Merge pull request #5508 from pmjdebruijn/minimum_boost_version
CMakeLists: set MINIMUM_BOOST_VERSION to 1.66.0 (due to Base64, #3375)
2021-02-10 11:21:35 +01:00
Vojtěch Bubník
03c1045b46
Merge pull request #5740 from rsobik/patch-1
Use correct M204 command for acceleration
2021-02-10 11:12:15 +01:00
Vojtěch Bubník
20979556c3
Merge pull request #5723 from mathiasvr/patch-1
remove "Some text"
2021-02-10 11:06:45 +01:00
Vojtech Bubnik
32b8a59fa5 Enabling /utf-8 on MSVC.
Hopefully a fix of fix some msvc compile error under Chinese Windows system. #5583
Hopefully it will not break any localization.
2021-02-10 11:05:02 +01:00
Vojtěch Bubník
b7ae342e8e
Merge pull request #5963 from wavexx/remove_undeeded_includes
Remove unneeded inclusion of boost::nowide
2021-02-10 10:43:56 +01:00
Vojtěch Bubník
f050bf7676
Merge pull request #5752 from sebastianha/master
Error compiling on Linux
2021-02-10 10:00:46 +01:00
Vojtech Bubnik
a5972e64fa Fixing compiler warnings: Fixed broken Linux build. 2021-02-09 20:06:08 +01:00
Vojtech Bubnik
f61119e02f Yet another clang compiler warning suppressed. 2021-02-09 20:04:11 +01:00
Vojtech Bubnik
2393d64a5a Fixed some OSX Objective C warnings. 2021-02-09 19:51:56 +01:00
Vojtech Bubnik
20456b45e5 Fix of the previous commit (fixing warnings) 2021-02-09 19:46:09 +01:00
Vojtech Bubnik
5e9a8ea700 Fixed some clang warnings 2021-02-09 19:23:58 +01:00
Vojtech Bubnik
770d8b5d08 Finishing the "Iron all surfaces" feature.
Fixes Ironing all solid surface does not seem to work #5703
2021-02-09 18:49:33 +01:00
Vojtech Bubnik
5a638f10cc Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2021-02-09 18:36:36 +01:00
Vojtech Bubnik
2e55898d78 Removal of not numerically robust libraries "poly2tree" and "polypartition".
Adjustment of GUI/3DBed.cpp,hpp to use the more stable triangulation algoritm
derived from SGI glut.
Fix of an extremely slow bridging calculation, caused by an extremely
slow bridged area detection function, of which the results were never used.
Fixes "slicing fails or takes too long #5974"
2021-02-09 18:36:28 +01:00
YuSanka
a86e7107a5 Added check for loaded STL file if it was saved in meters. Related to #4521 (Some files are imported in the wrong size) 2021-02-09 17:04:32 +01:00
YuSanka
a1e49e7f8c Implemented #4931 - Added colored background for the Manipulation panel, if
option "Use colors for axes values in Manipulation panel" is enabled in Preferences -> GUI
+ Fix one more compilation warning in UnsavedChangesDialog.cpp
2021-02-09 16:04:03 +01:00
Vojtech Bubnik
820c18923b Fixed compilation warning 2021-02-09 14:09:16 +01:00
enricoturri1966
28d2c122db Fixed build on Windows 2021-02-09 10:24:08 +01:00
enricoturri1966
c21e1b5ac4 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-02-09 10:01:36 +01:00
enricoturri1966
627b727463 Fixed gouraud fragment shader 2021-02-09 09:59:41 +01:00
YuSanka
e833e63c42 Fixed a crash on language changing
(DiffPresetDialog should get mainframe as a parent explicitly)
2021-02-09 09:56:19 +01:00
rtyr
0b4720338f
Merge pull request #5968 from pmjdebruijn/creality_max
Creality CR-6 Max / CR-10 Max / etc
2021-02-09 09:19:40 +01:00
xxorza
cfca723422 tabulation fix 2021-02-08 18:44:48 -08:00
xxorza
0ca4ccc828 moved postprocessing onto temp dir 2021-02-08 18:43:34 -08:00
rtyr
310531d2db
Updated Kossel bed textures. 2021-02-08 23:43:21 +01:00
rtyr
1d0484a25d
Anycubic 0.0.7 Updated start g-code 2021-02-08 23:41:13 +01:00
Lukas Matena
8fbafbea87 Merge branch 'lm_warnings': Fixes lots of Clang warnings 2021-02-08 18:04:36 +01:00
Lukas Matena
a7728634f0 Clang: silence -Wdeprecated-declarations for now
RPi: hopefully silence a warning
2021-02-08 17:52:29 +01:00
Lukas Matena
1834ebe981 Fixing Clang warnings 3 2021-02-08 17:52:29 +01:00
Lukas Matena
b85de89751 Fixing Clang warnings 2 2021-02-08 17:52:29 +01:00
Lukas Matena
0ff0444dcc Fixing Clang warnings 1 2021-02-08 17:52:29 +01:00
Lukas Matena
cd1322ce3f FDM supports gizmo 'autoset by angle' improvements:
- Extra dialog for autosetting by angle in FDM supports gizmo was removed
- Highlighting facets by angle is now controlled by a slider in the main gizmo dialog
- User is allowed to paint even when using the slope highlighter
- The button to turn highlighted facets to blockers was removed, it made no sense
- Highlighted facets are now rendered in light blue
2021-02-08 17:49:36 +01:00
Vojtech Bubnik
672ed99320 Fix of Hilbert Curve Infill: Unable to slice, PrusaSlicer not responding. #5771
Fixed by hard limiting the number of iterations of
reorder_by_two_exchanges_with_segment_flipping()
2021-02-08 17:43:39 +01:00
YuSanka
ba479066b2 Fixed layout of the TreeCtrl for the Printer Settings Tab 2021-02-08 17:30:47 +01:00
Pascal de Bruijn
d135bd86de creality.ini: Add Extrudr GreenTEC Pro filament 2021-02-08 17:07:41 +01:00
Vojtech Bubnik
1f5b7fc162 Fix of a selection of default print / filament / sla print / sla material
profile after wizard closes for the first time with the first printer
installed.
2021-02-08 15:56:44 +01:00
enricoturri1966
a94de05499 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-02-08 13:23:34 +01:00
enricoturri1966
c767ce18de Removed debug code 2021-02-08 13:23:11 +01:00
YuSanka
76291936d7 UnsavedChangesDialog: Fixed warnings 2021-02-08 13:16:06 +01:00
Vojtech Bubnik
de32992b49 Fix of Fan ramp not correct for layer 1 #5893 2021-02-08 12:43:27 +01:00
Vojtech Bubnik
5449e6c549 Fixing some compiler warnings on Linux 2021-02-08 11:58:03 +01:00
Vojtech Bubnik
cbee82dc95 Fix of "infill percentage not changing #5993"
Fix of aa4c018cd5
Infill is a percent, which is a number from 0 to 100, not from 0 to 1.
2021-02-08 11:39:42 +01:00
Lukas Matena
d001195ebd Restoring custom supports/seams after reload from disk
Until now, the custom data were lost.
2021-02-08 09:51:49 +01:00
Lukas Matena
f3c4888291 Added a missing include 2021-02-08 08:13:22 +01:00
Lukas Matena
53539a5993 Added a missing include 2021-02-08 08:10:14 +01:00
Pascal de Bruijn
7f925e700b creality.ini: add experimental support for CR-X (Pro) 2021-02-07 16:45:14 +01:00