Commit Graph

17057 Commits

Author SHA1 Message Date
Vojtech Bubnik
b76f66d2d2 Follow-up to 3ee259b602
1) Added parsing of 3MF PrusaSlicer generator semantic version
2) For 3MFs generated by >= "2.4.0-alpha1" and < "2.4.0-alpha3",
   remove unreferenced vertices on loading. This should shrink the incorrectly
   generated 3MFs back.
3) Added check for an empty mesh, which could have crashed PrusaSlicer on 3MF parsing.
2021-09-30 12:18:43 +02:00
Lukas Matena
5fe90599fc Painting gizmos no longer use a separate undo/redo stack 2021-09-30 12:18:43 +02:00
Lukas Matena
c61a5d234e After gizmo snapshots are compacted, rename the last one to something generic 2021-09-30 12:17:52 +02:00
Vojtech Bubnik
aeb18e729d New preferences key "clear_undo_redo_stack_on_new_project", set to "1"
by default: Clear Undo / Redo stack on new project or load project.
Fixes Clear undo chain #2812
2021-09-30 12:17:52 +02:00
Vojtech Bubnik
1f3b272d77 Redo of the project state, implementation of Undo/Redo stack compression 2021-09-30 12:17:39 +02:00
Filip Sykala
6b08cc4d22 Merge branch 'master' into fs_simplify_wireframe 2021-09-30 09:52:10 +02:00
Filip Sykala
f7a479a90e Merge branch 'master' into fs_fix_simplify 2021-09-30 09:40:22 +02:00
Filip Sykala
6b9ee1126d Not buildable render contour 2021-09-30 09:40:06 +02:00
Filip Sykala
6bd78aa9c4 Add call for render 2021-09-30 09:23:04 +02:00
enricoturri1966
47d3d068dd Fixed warnings 2021-09-30 09:00:01 +02:00
Filip Sykala
84f8ba9fb4 Fix for deleted object after preview 2021-09-29 19:06:31 +02:00
Filip Sykala
95fc054590 fix for getting name of gizmo without key(like simplify) 2021-09-29 18:17:19 +02:00
enricoturri1966
88c701888d Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-09-29 13:34:45 +02:00
enricoturri1966
1df91ea930 Follow-up of 67e519d3ab - Use a platform-indipendent fix 2021-09-29 13:34:30 +02:00
tamasmeszaros
5c1e6d2298 Fix reading relative_correction parameter
Drop compatibility with profiles created on legacy Slic3r PE 1.42-beta1 to 1.42-beta2

fixes #7013
2021-09-29 10:11:29 +02:00
David Kocik
4e63f873da Slicing complete notification fades out after 2 seconds. Issue #7017. 2021-09-29 10:01:13 +02:00
enricoturri1966
c917b82bea Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-09-27 16:03:22 +02:00
enricoturri1966
80f28538c5 #7011 - Follow-up of 3ee259b602 - Modified volumes' indices rebase 2021-09-27 16:03:09 +02:00
Vojtech Bubnik
85c760d9b6 Touch-up to some comments, removed commented-out code 2021-09-27 15:00:58 +02:00
Vojtech Bubnik
8f4f02f84c Merge remote-tracking branch 'remotes/origin/vb_project_state' 2021-09-27 14:36:22 +02:00
Vojtech Bubnik
9c4494637c WIP Undo / Redo and project state: Marking Undo / Redo snapshots
with their purpose.
Follow-up to 41dc265a45
2021-09-27 14:32:09 +02:00
enricoturri1966
3ee259b602 #7010 - Fixed import of volumes from 3mf. This is a regression wrt. PrusaSlicer 2.4.0-alpha1 due to the 3mf import optimization introduced with 8a2a9dba2f 2021-09-27 14:14:05 +02:00
Vojtech Bubnik
41dc265a45 WIP Undo / Redo and project state: Marking Undo / Redo snapshots
with their purpose.
2021-09-27 14:10:53 +02:00
enricoturri1966
2483a9f036 Added missing include 2021-09-27 13:02:56 +02:00
enricoturri1966
1196251d51 #7015 - Fixed typo in AMFParserContext::endElement() 2021-09-27 12:33:26 +02:00
enricoturri1966
8ecdea152f Follow-up of 721e396edc - Same fix applied to GCodeProcessor::process_G28() and GCodeProcessor::process_M402() 2021-09-27 12:08:26 +02:00
enricoturri1966
721e396edc #7016 - Fixed GCodeProcessor::process_M132() 2021-09-27 11:35:58 +02:00
enricoturri1966
7ca9024fca #7008 - GCodeViewer - Fixed loading of gcodes generated by SuperSlicer 2021-09-27 11:22:36 +02:00
Vojtech Bubnik
43470af0c6 Fix of "About" screen still shows 2020 at the copyright notice (#7018) 2021-09-27 10:07:29 +02:00
Vojtech Bubnik
07e7e11590 Fix of prusa-gcodeviewer changes modification time of the viewed gcode file #7005
This is a regression wrt. PrusaSlicer 2.4.0-alpha1 due to the G-code
processing optimization and parallelization.
Related to GCode Viewer changes files modified date in windows #5079
2021-09-27 10:02:54 +02:00
tamasmeszaros
05e4451649 Merge branch 'tm_sl1_import_fixes' 2021-09-27 10:00:45 +02:00
tamasmeszaros
4d2bf8db0d Switch to current SLA profile if an imported archive doesn't contain it.
Send a warning notification if this happens. Also,if  there is no current SLA profile initialized, an error message will tell the user to switch to an SLA profile before importing.

fixes #6915
2021-09-27 10:00:21 +02:00
tamasmeszaros
33eba4aea6 Rename SLAPrinter interface to SLAArchive as it makes more sense. 2021-09-27 10:00:21 +02:00
enricoturri1966
117df134f6 #7010 - Fixed import from 3mf containing modifiers crossing the printbed 2021-09-27 09:45:54 +02:00
Lukas Matena
2356c30356 Bumped up version number 2021-09-24 13:10:23 +02:00
Lukas Matena
6a5feb818f Revert "Fixed volume transformations in SLA:":
The fix is not complete, it is better not to break it more than it was.

This reverts commit 6b25a9c836.
2021-09-24 13:03:56 +02:00
Lukas Matena
6b25a9c836 Fixed volume transformations in SLA:
Volume transformations were ignored in SLA mode. This did not matter for plain STLs
and PS own 3MF, because in those cases, the volume trafo was identity. Importing
a 3rd party 3MF leads to issues with support/holes placement and generation.
Fixes #6100 and #6744.
2021-09-24 12:14:44 +02:00
Vojtech Bubnik
fec5d92bc8 Added various has_duplicate_points() checks, to be used by asserts.
Removed some "extern" function modifiers, they have no meaning in C++.
2021-09-24 14:07:46 +02:00
YuSanka
7eea15fdde Set the project state to 'dirty' only if a project has a name (was saved or loaded).
Do not mark the project as dirty if it is a new project which hasn't been saved yet.
2021-09-24 13:01:29 +02:00
Vojtech Bubnik
6c37955d75 Moved a commented out test for DynamicPrintConfig serialization
/ deserialization into a living unit test.
2021-09-24 11:32:15 +02:00
YuSanka
60d8a7b301 MSW specific: Follow up 683cb42454 - Set Selection for the content of focused controls (TextCtrls a SpinCtrls) 2021-09-24 10:55:34 +02:00
tamasmeszaros
acd2448f10 Fix stl export on Linux 2021-09-24 10:15:46 +02:00
Vojtech Bubnik
3872524dc4 Follow-up to b6d7601ead
Fixing the FDM raft generator.
2021-09-24 10:13:26 +02:00
Vojtech Bubnik
0c0c37b76c Fix of [2.4.0a] version placeholder doesn't work for output filename format #7002 2021-09-24 09:36:14 +02:00
Vojtech Bubnik
04e4aee246 Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer 2021-09-23 18:46:15 +02:00
Vojtech Bubnik
b6d7601ead Fixed endless loop in support raft generator. 2021-09-23 18:46:11 +02:00
YuSanka
8f6386cdff Fix of #7000 - Compilation error: ambiguous overload for ‘operator+ 2021-09-23 16:54:40 +02:00
YuSanka
9f62aeabab DoubleSlider: Fixed a bug related to the unexpected mouse capture end
Steps to repro:
 1.Use left mouse button to move thumb of the DoubleSlider
 2.Click by right mouse button
 3.Thumb is moving even if you move the mouse out of the DoubleSlider
2021-09-23 16:54:40 +02:00
David Kocik
6af09cd3ea Merge branch 'dk_notifications' 2021-09-23 16:15:54 +02:00
David Kocik
976ef2c1b9 Progress bar notifications and Export finished notification changes.
Export Finished notification ejecting state.
Slicing began state in progress notification.
Timing of progress bar notifications. Progress indicator disappears instantly at 100%. While slicing goes into Slicing Finished without fade out. 
Preventing of negative growth of slicing progress bar.
Slicing progress bar - Negative percent value means now No info rather than Canceled.
Hiding slicing progress at printer technology change.
2021-09-23 16:15:39 +02:00