Commit Graph

1457 Commits

Author SHA1 Message Date
207187ed79 Fixed encoding of gizmo entering/leaving undo redo snapshots,
which was broken by adding an extra TakeSnapshot overload in 41dc265
2021-10-29 21:47:47 +02:00
13ec55a4dd Implemented possibility to apply conversion from inches/meters to mm for all loaded objects at once
+ Added MessageWithCheckBox dialog
+ some code refactoring for MessageDlg
2021-10-26 14:52:45 +02:00
bcdf25a22f MSW Dark mode: Set mode colors for RichToolTips 2021-10-26 08:28:03 +02:00
c3088f8139 Documented the new print bed collision detection algorithm requirements:
Only convex print bed is supported.
Optimization of collision detection by precomputing the print bed shape type.
2021-10-23 15:29:18 +02:00
079d40b77e Fixed wrong showing of the default context menu if right button was clicked on empty space when several objects are selected in 3DScene 2021-10-22 13:00:19 +02:00
be11f7613c Obvious fixes to stupid warnings 2021-10-21 09:55:12 +02:00
22253d2289 open simplification on center when open from notification 2021-10-19 18:53:42 +02:00
689d623d7b Added a missing include (GCC 11.1). 2021-10-19 11:53:21 +02:00
b38cd284bd Fixed conflicts after merge with master and ported changes into gouraud shaders to gouraud_mod shaders 2021-10-19 11:27:11 +02:00
e86a1b4d89 Export ongoing notification with delay 1000ms to prevent quick opening and closing on fast systems 2021-10-15 15:04:44 +02:00
dcfebd0e60 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sinking_objects_collision 2021-10-07 14:22:06 +02:00
2a367f6774 Check if object's size appears to be zero, when loading the model file. 2021-10-07 09:12:31 +02:00
d83b2e0d3d ObjectList: Fixes
* Fixed update of a warning icon for multi-part object, when some part with errors was deleted
 * Fixed a crash when selecting non-Object and non-Volume item (in get_mesh_errors_info() was missed check of the obj_idx)

+ Follow-up 1cc7b4ba97 - some code refactoring:
  * fixed RepairedMeshErrors.merge()
  * get_mesh_errors_count() renamed to get_repaired_errors_count()
2021-10-06 17:24:40 +02:00
805a589ccd Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sinking_objects_collision 2021-10-06 13:48:27 +02:00
46bff60e16 RichToolTips: Don't set a Timer for Tooltip but dismiss the tooltip when a mouse leave the button 2021-10-06 13:15:21 +02:00
cb570079ef Follow-up e2f2ed4172 and 80844ca337 - Allow RichToolTips just under MSW 2021-10-05 16:45:54 +02:00
033f498b1f actualize warnings on empty background process 2021-10-05 15:52:44 +02:00
a7ea88befb Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sinking_objects_collision 2021-10-05 15:33:37 +02:00
86f2dcff00 RichTooltips for the buttons on a sidebar: Fixed wrong positioning of the tooltip when PrusaSlicer is on secondary display
Show a right triangle tip in the bottom right corner of the tooltip.
2021-10-05 13:36:32 +02:00
46f7d946c9 Changed conditions for the warning icon.
If mesh isn't manifold then always show the red "exclamation" icon
It mesh is manifold but was repaired then show the gray/white "exclamation" icon
2021-10-05 13:21:38 +02:00
a1ee03b86f Fix for #6218 - Button tooltip in the way
Use wxRichTooltip instead of wxTooltip for buttons on the bottom of a sidebar
2021-10-05 11:05:20 +02:00
921d2bdee7 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sinking_objects_collision 2021-10-05 09:51:04 +02:00
b35a04b99a Fix for #7040 - Missing auto slice after Undo / Redo of deletion of height range modifier 2021-10-04 15:33:32 +02:00
1f3f0363d2 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sinking_objects_collision 2021-10-04 15:04:34 +02:00
6b6bc67064 Fixed inconsistent modifier context menu in the right panel and in the 3d scene 2021-10-04 14:13:42 +02:00
bdbadca1ec Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sinking_objects_collision 2021-10-04 13:07:53 +02:00
f573fe8ad5 Manifold mesh may contain self-intersections, so we want to always allow fixing the mesh.
This is a fix of a regression wrt. https://github.com/prusa3d/PrusaSlicer/releases/tag/version_2.4.0-alpha2
2021-10-04 10:39:58 +02:00
ca4345aa30 Close validate warnings on empty plater. 2021-10-04 09:56:23 +02:00
14d49aa539 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sinking_objects_collision 2021-10-04 08:30:13 +02:00
0fcbc006cb PrintInfoNotificationLevel with icon 2021-10-01 15:03:40 +02:00
8e80327528 Revert of 117df134f6 2021-10-01 14:14:47 +02:00
8b8967e6c1 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sinking_objects_collision 2021-10-01 12:15:24 +02:00
0ae569c97c Close updated item info notification at new item loading 2021-10-01 10:08:19 +02:00
830b7ce5eb Revert Object warning notification to SimplifySuggestion
followup of commit 0d0c092880.
2021-10-01 10:08:19 +02:00
44613f6d28 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sinking_objects_collision 2021-09-30 15:08:35 +02:00
af6ebbda61 Tech ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS - Enable detection of collision with circular printbed in backend 2021-09-30 14:51:09 +02:00
d52026f992 After gizmo snapshots are compacted, rename the last one to something generic 2021-09-30 12:17:52 +02:00
de000ed50b 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
fab8cfc468 Redo of the project state, implementation of Undo/Redo stack compression 2021-09-30 12:17:39 +02:00
71ce4ae979 Follow-up of 67e519d3ab - Use a platform-indipendent fix 2021-09-29 13:34:30 +02:00
f3961f38c4 Merge remote-tracking branch 'remotes/origin/vb_project_state' 2021-09-27 14:36:22 +02:00
52e9574d1b WIP Undo / Redo and project state: Marking Undo / Redo snapshots
with their purpose.
2021-09-27 14:10:53 +02:00
b1ec476fac #7010 - Fixed import from 3mf containing modifiers crossing the printbed 2021-09-27 09:45: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
4b42bda5f2 Fix for #6941 - Search Settings: Put focus into input field when navigating to the setting 2021-09-23 12:32:59 +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
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
0d5a4c2b53 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-09-22 11:38:15 +02:00
962f15a778 #6983 - Fixed preview when switching to it after automatic background processing is completed 2021-09-22 11:38:08 +02:00
f5359c281e Fix of #6898 (finishing slicing interfered with dragging gizmos) 2021-09-22 11:02:52 +02:00