Commit Graph

17088 Commits

Author SHA1 Message Date
f3961f38c4 Merge remote-tracking branch 'remotes/origin/vb_project_state' 2021-09-27 14:36:22 +02:00
8f3c20b889 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
c75c12e0a5 #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
52e9574d1b WIP Undo / Redo and project state: Marking Undo / Redo snapshots
with their purpose.
2021-09-27 14:10:53 +02:00
529d897e2e Added missing include 2021-09-27 13:02:56 +02:00
80f4f62058 #7015 - Fixed typo in AMFParserContext::endElement() 2021-09-27 12:33:26 +02:00
78c830860a Follow-up of 721e396edc - Same fix applied to GCodeProcessor::process_G28() and GCodeProcessor::process_M402() 2021-09-27 12:08:26 +02:00
a261214b3b #7016 - Fixed GCodeProcessor::process_M132() 2021-09-27 11:35:58 +02:00
e196338ca3 #7008 - GCodeViewer - Fixed loading of gcodes generated by SuperSlicer 2021-09-27 11:22:36 +02:00
4035a8921e Fix of "About" screen still shows 2020 at the copyright notice (#7018) 2021-09-27 10:07:29 +02:00
46abac6f5c 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
e92e6fbc6f Merge branch 'tm_sl1_import_fixes' 2021-09-27 10:00:45 +02:00
bcf4e3781c 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
8e4b1c656c Rename SLAPrinter interface to SLAArchive as it makes more sense. 2021-09-27 10:00:21 +02:00
b1ec476fac #7010 - Fixed import from 3mf containing modifiers crossing the printbed 2021-09-27 09:45:54 +02:00
dd251828f7 Bumped up version number 2021-09-24 13:10:23 +02:00
6a31875fa3 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
c950362071 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
f7f0da15a8 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
0f83a5f520 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
9311ce0d45 Moved a commented out test for DynamicPrintConfig serialization
/ deserialization into a living unit test.
2021-09-24 11:32:15 +02:00
421229f544 MSW specific: Follow up 683cb42454 - Set Selection for the content of focused controls (TextCtrls a SpinCtrls) 2021-09-24 10:55:34 +02:00
61d1aba4fc Fix stl export on Linux 2021-09-24 10:15:46 +02:00
8913e6eac5 Follow-up to b6d7601ead
Fixing the FDM raft generator.
2021-09-24 10:13:26 +02:00
8fba5eba5a Fix of [2.4.0a] version placeholder doesn't work for output filename format #7002 2021-09-24 09:36:14 +02:00
d6943ddd03 Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer 2021-09-23 18:46:15 +02:00
049bb96271 Fixed endless loop in support raft generator. 2021-09-23 18:46:11 +02:00
2ce7586bcd Fix of #7000 - Compilation error: ambiguous overload for ‘operator+ 2021-09-23 16:54:40 +02:00
3ae553fbba 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
b552cdf7fe Merge branch 'dk_notifications' 2021-09-23 16:15:54 +02:00
8f9512198d 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
f48e41dc3a MSW specific: Fix for #6938 - Cycling through tabs using Ctrl+PageUp/Down doesn't work
OnNavigationKey() function is copied from wxNotebook to Notebook
2021-09-23 16:02:44 +02:00
85b8797b21 Fix for #6993 - Small hieght combobox in "Settings tab as menu items" 2021-09-23 15:39:54 +02:00
78da34f69e Fix of hidden progress bar in progress indicator notification 2021-09-23 15:01:19 +02:00
4b42bda5f2 Fix for #6941 - Search Settings: Put focus into input field when navigating to the setting 2021-09-23 12:32:59 +02:00
03b8bead44 Follow-up of f71cf324b9 - Fixed shown tool position 2021-09-23 11:51:30 +02:00
9e100bd292 Blacklisted AMHook.dll 2021-09-23 11:15:08 +02:00
2d516f5288 Merge branch 'dk_tips' 2021-09-23 09:56:49 +02:00
35d6dbdf25 Fixed rendering undo/redo toolbar arrow. 2021-09-23 09:56:28 +02:00
90263b5130 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-09-23 09:25:31 +02:00
ba60d2b254 Tech ENABLE_FIX_SEAMS_SYNCH - Fix the synchronization of seams with the horizontal slider in preview 2021-09-23 09:25:13 +02:00
dfe6f8f42f Fix of #4666 (selection rectangle in SLA gizmo incorrectly handles transformations) 2021-09-22 21:31:33 +02:00
831c640a03 Fix for #6958 - GUI Setting non modal window: Search broken when main window hidden (minimized) 2021-09-22 15:53:59 +02:00
83433eaa28 MSW specific: Fixed settings layout after switching from New to Old layout
(Notebook: Added check of a visibility of just selected tab in notebook)
2021-09-22 15:53:59 +02:00
4d9b243dcb Merge branch 'dk_instances' 2021-09-22 15:00:44 +02:00
58acb81c41 Instance check: Error output with lock file location 2021-09-22 14:50:28 +02:00
4e17e61be4 Check unsaved changes (#6991)
* Check Unsaved changes (partially related to #5903)
 + Allow create new project when Plater is empty, but some of presets are modified (related to #5903)
 + When creating new project allow Keep or Discard modification from previous project
 + Added check of changes:
    * before any load project (including DnD and "Load From Recent Projects")
    * before preset updater
    * when configuration is changing from the ConfigWizard
 + Dialog caption is added for each check

 + Create/Destroy ConfigWizard every time when it's called

* Check Unsaved changes: Next Improvements
 + For dialog "Save project changes" added a reason of saving and name of the current project (or "Untitled")
 + UnsavedChangesDialog: Headers are extended to better explain the reason
 + Preferences: Fixed tooltiops for "Always ask for unsaved changes when..."
 + Suppress "Remember my choice" checkbox for actions which are not frequently used

* Fixed behavior of the application when try to save changed project but "Cancel" button is selected in "Save file as..." dialog

* Check unsaved changes: Improvements for Config Wizard - Check all cases when presets should be updated
 + Fixed info line for Materials pages. Text of the info relates to the printer technology now

* Improved suggested name for a project when Application is closing

* Fixed Linux/OSX build warnings
2021-09-22 12:44:13 +02:00
377bde4391 Follow up ff82c82f - Fixed ModeButtons refreshing 2021-09-22 12:39:19 +02:00
fcbfe98830 Fix of #3969 (crash if $USER is not set) 2021-09-22 11:58:38 +02:00
0d5a4c2b53 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-09-22 11:38:15 +02:00