Commit Graph
100 Commits
Author SHA1 Message Date
YuSanka b6b5bdb592 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
YuSanka 7967997c7e InfoDialog: Small code refactoring 2021-10-22 11:37:02 +02:00
YuSanka aecd7e2b93 GalleryDialog: Added context menu for custom shapes
+ Added possibility to delete custom shaped by "DELETE" key
2021-10-14 12:16:14 +02:00
YuSanka a4ad4ff4a9 Auto color change: check overhangs lust from Preview when detecting auto color changes
+ fixed typo in equivalent_areas()
 + Added missed include
2021-10-12 15:23:50 +02:00
YuSanka 5990f05418 Follow-up https://github.com/prusa3d/PrusaSlicer/commit/cedfc5e3fb2090e6c7a3897346abe3eb694ebd90 - Next code refactoring to avoid inconsistency between AutoColorChangeDetection in Preview and DoubleSlider 2021-10-12 14:18:39 +02:00
YuSanka cedfc5e3fb DoubleSlider: Code refactoring for auto color change 2021-10-12 10:47:21 +02:00
YuSanka b39eb7f222 Gallery: Fixed a naming of the added item with already existing name.
+ Fixed layout after add/delete item to/from Gallery
2021-10-11 11:21:27 +02:00
YuSanka e1104d5f7d Win11 specific: Added workaround for implicit set of the dark mode 2021-10-11 09:54:38 +02:00
YuSanka c921d6f936 ObjectList: Fixed positioning of the object's part/modifiers when it's added
Use load_modifier() for everything without a respect to the type
2021-10-08 12:14:49 +02:00
YuSanka ce397a0c5c ShapeGallery: Added more system shapes 2021-10-08 09:05:03 +02:00
YuSanka c0f3077ce9 Follow-up fb3ed367ad : Fixed flickering of the wxProgressDialog during the model fixing 2021-10-07 14:04:15 +02:00
YuSanka fb3ed367ad Try to fix a focus for Application after closing of the "fix thought NetFab" ProgressBarDialog 2021-10-07 11:53:19 +02:00
YuSanka a2b99db0df MSW specific:Added dark mode for G-CodeViewer 2021-10-07 11:53:19 +02:00
YuSanka 68fd37b300 Added SVG-file for G-CodeViewer logo 2021-10-07 11:53:19 +02:00
YuSanka 1b828ca7f5 Deleted unused PNG-files. Added mirroring_transparent.svg (thanks for @AkiraNorthstar) 2021-10-07 10:14:55 +02:00
YuSanka c15be26bff Check if object's size appears to be zero, when loading the model file. 2021-10-07 09:12:31 +02:00
YuSanka 7340488aaf 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 https://github.com/prusa3d/PrusaSlicer/commit/1cc7b4ba971e8d04558b8a49869d9ce1647b8f77 - some code refactoring:
  * fixed RepairedMeshErrors.merge()
  * get_mesh_errors_count() renamed to get_repaired_errors_count()
2021-10-06 17:24:40 +02:00
YuSanka 8d749d2a9e Fix for build 2021-10-06 13:49:03 +02:00
YuSanka 82de61b0aa 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
YuSanka 1cc7b4ba97 Save/Load repaired errors from/to a mesh statistics to/from a 3MF 2021-10-06 10:57:28 +02:00
YuSanka 47b54d5ce0 ObjectList: Fixed mouse click on the WarningIcon, when mesh wasn't repaired and isn't manifold. 2021-10-06 10:12:21 +02:00
YuSanka 9e2fa3cd4d Follow-up https://github.com/prusa3d/PrusaSlicer/commit/e2f2ed41720c73170c0e08f8650394d253cae973 and https://github.com/prusa3d/PrusaSlicer/commit/80844ca3374718af3c6bde05363d732221aeaf53 - Allow RichToolTips just under MSW 2021-10-05 16:45:54 +02:00
YuSanka 091f946340 Localization: Updated POT 2021-10-05 16:31:04 +02:00
YuSanka d6222cf8a8 SendSystemInfoDialog: Layout adjustments 2021-10-05 15:09:52 +02:00
YuSanka 80844ca337 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
YuSanka 3e07d2e853 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
YuSanka e2f2ed4172 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
YuSanka 577632d892 Check unsaved preset changes only if project is dirty and it wasn't saved 2021-10-04 16:20:46 +02:00
YuSanka d214e09400 Fix for #7040 - Missing auto slice after Undo / Redo of deletion of height range modifier 2021-10-04 15:33:32 +02:00
YuSanka 8c89abc9fb Fixed inconsistent modifier context menu in the right panel and in the 3d scene 2021-10-04 14:13:42 +02:00
YuSanka a5a6c0e09a Fix for #7012 - Dark mode + colored axis: Can't read the Manipulation panel 2021-10-04 13:57:20 +02:00
YuSanka 580f157d28 ConfigWizard: Suppress to select SLA printer if a multi-parts object is on a Plater 2021-10-04 11:35:41 +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
YuSanka 60d8a7b301 MSW specific: Follow up https://github.com/prusa3d/PrusaSlicer/commit/683cb4245440fc8926e39bf4b24f42073ab43e35 - Set Selection for the content of focused controls (TextCtrls a SpinCtrls) 2021-09-24 10:55:34 +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
YuSanka cd4c29b1e5 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
YuSanka 853a5846ec Fix for #6993 - Small hieght combobox in "Settings tab as menu items" 2021-09-23 15:39:54 +02:00
YuSanka 683cb42454 Fix for #6941 - Search Settings: Put focus into input field when navigating to the setting 2021-09-23 12:32:59 +02:00
YuSanka e48c320f6d Fix for #6958 - GUI Setting non modal window: Search broken when main window hidden (minimized) 2021-09-22 15:53:59 +02:00
YuSanka e477903d3e 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
Oleksandra Yushchenko 8f064dd155 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
YuSanka 846b868215 Follow up ff82c82f - Fixed ModeButtons refreshing 2021-09-22 12:39:19 +02:00
YuSanka 238e65e455 Improvements for statistics information:
+ Show 2 groups of errors: "Auto-repared" and "Remaning".
 + Use different icons for volumes with/without remaining errors
 + Fixed update of the ObjectList warnings icons after switch the color mode of a PrusaSlicer
 + Some code refactoring: Use same code for tooltips for "exclamation"-icon from an ObjectList and from a Sidebar->ObjectInfo
2021-09-21 17:20:12 +02:00
YuSanka 03a692cfd1 Implemented possibility to fix several objects at once 2021-09-16 10:07:00 +02:00
YuSanka 5a95794913 OSX specific: Improvements for wxMultiChoiceDialog: Height of a ChoiceListBox will respect to items count
This improvement fixed #6926 - Checkbox columns in modal windows are stretched (macOS)
2021-09-13 10:30:09 +02:00
YuSanka 670ec06b97 "CANCEL" button is deleted from "Support Generator" MessageDialog
to avoid confusions when "Supports mode" is switched from right panel
2021-09-10 15:31:18 +02:00
YuSanka 3db4804e47 MSW specific: ObjectList: Fixed eternal Editor Control
Steps to reproduce of a bug:
1. Add object
2. Click the Cog icon with the left mouse button
3. DoubleClick on name of object > An Editor Control appears that cannot be deleted any way
2021-09-10 14:08:07 +02:00
YuSanka ff82c82f52 MSW-specific: Application Mode Buttons: Added the orange-ish background over the bold font to indicate selection
(see comments for #6860)
2021-09-10 08:02:04 +02:00
YuSanka 0abab45efa ObjectDataViewModel: Fixed AddInfoChild() and Delete() functions
Delete () function did not account for InfoItems that were added before VolumeItems
As a result, There was possibility when deletion of penult VolumeItem wasn't invoke deletion of the last VolumeItem

AddInfoChild() was not respect to existed SettingsItem
SettingsItem have to be on a first place always.
2021-09-09 17:51:45 +02:00
YuSanka 9c5c9a0e78 ObjectList: Fixed a bug related to an update of selection in 3DScene.
Steps to repro:
1. Create some object with several parts.
2. Increase instances count.
3. Select some volume in ObjectList => all related volumes for each instance are selected in 3DScene (CORRECT)
4. Select last instance in ObjectList => all volumes (except one) of selected instance are selected in 3DScene (UNCORRECT).
                                         ALL volumes of selected instance have to be selected in 3DScene

Fix: To avoid lost of some volumes in selection
check non-selected volumes only if 3DScene-selection mode wasn't changed
or there is no single selection in ObjectList
2021-09-09 17:51:45 +02:00
YuSanka a115da6334 Fix for #6921 - Error while disabling filament overrides in Dutch language 2021-09-08 15:31:10 +02:00
YuSanka eb2debc2c6 ObjectList: Fixed DnD of Volumes inside the Object 2021-09-07 16:48:33 +02:00
YuSanka 719c91514b ObjectList:: Allow use BACKSPACE to delete selected items 2021-09-07 15:19:59 +02:00
YuSanka af20419ed4 Fix for #6903 - Compare presets window titles inaccurate... 2021-09-07 11:23:30 +02:00
YuSanka e6eae62584 MSW specific: Fixed a typo caused extension of PresetComboBox's height on SettingsTabs,
added comment for workaround
2021-09-01 16:08:18 +02:00
YuSanka 20453f412b Check unsaved changes before opening of the ConfigWizard 2021-09-01 13:48:40 +02:00
YuSanka ea4e9b35a3 Fix for #6803 - Illegal character in filename when STL opened direct from CAD app 2021-08-20 09:38:35 +02:00
Oleksandra Yushchenko caf8ef4aab Auto selection of presets (#6817)
PresetComboBoxes: Auto selection of printer/material preset from the new added presets in ConfigWizard
+ Check unsaved changes if ConfigWizard is running from the PesetComboBoxes
2021-08-18 16:10:35 +02:00
YuSanka a3f995ac45 Add "Revert" buttons for text colors Settings 2021-08-18 15:03:06 +02:00
YuSanka 08e2e29afd ObjectList: Implemented interface for delete InfoItem 2021-08-17 10:05:03 +02:00
YuSanka e199dd5b20 Follow-up https://github.com/prusa3d/PrusaSlicer/commit/88d5f40b7c7c0c8ca19ac60dfdb12719a32e1917 - Small fix for text formatting 2021-08-13 13:41:09 +02:00
YuSanka ca530717e0 MSW specific: Fixed a crash on change of the extruder using keyboard 2021-08-13 13:40:55 +02:00
YuSanka 21dfb05384 InfoDialog: Improvements
* Fixed localization
* Substitutions are aligned in table
2021-08-13 13:40:47 +02:00
YuSanka 4cbe7a9545 If configuration update is available, show Dialog with information about it before ConfigWizard is opened 2021-08-13 13:36:08 +02:00
YuSanka 1e60acde12 Substitutions : Implemented InfoDialog 2021-08-13 13:30:50 +02:00
YuSanka 88c8134f15 AutoColorChange detection: Small improvements - at least 25% (instead of 30%) of object's height have to be a solid 2021-08-13 11:00:30 +02:00
YuSanka ac86c7c022 ObjectList: Update InfoItems after set some instance as a separate object 2021-08-12 15:23:31 +02:00
YuSanka 3ca2b2bc71 ObjectList: Added separate icons for InfoItems 2021-08-12 15:02:24 +02:00
YuSanka 66435887ea Revert of the 84c6199015
Note: When ProgressDialog has no-nullptr parent, then PrusaSlicer doesn't lose the focus at the end of model fixing,
but start to flickering during fixing of the big models.
2021-08-12 12:51:27 +02:00
YuSanka 37ba18a8c3 DoubleSlider: Init extruder sequence in respect to the extruders count 2021-08-12 12:40:14 +02:00
YuSanka 131d2ace50 Check min/max values for SpinCtrls in Settings Tabs
+ Set max value for "extruders_count" to 256
2021-08-12 10:20:52 +02:00
YuSanka 83ab034f9a Fixed ENTER for ComboBoxes and TextCtrls in Settings Tabs (related to #6692)
+ Code cleaning : Deleted unused set_focus
2021-08-11 16:01:54 +02:00
YuSanka 3a2a9d8500 Follow up c0a00f4e70 - Check unsaved changes only if project wasn't saved 2021-08-11 15:40:57 +02:00
YuSanka ad60227449 MSW specific: Fixed a typo caused ignoring ENTER for TextControls in Settings Tabs
+ Added Info icon for MessageDialog
2021-08-10 15:10:37 +02:00
Oleksandra Yushchenko ed25d5c53d Fix for #6692 - Slice button not appearing after infill change 2021-08-10 12:32:00 +02:00
YuSanka c0a00f4e70 Fix for - Profile save dialog should appear when application is closed and when don't save project is selected
Note: show UnsavedChangesDialog even if there is an object in the scene
2021-08-10 11:42:48 +02:00
YuSanka d88ef826cd Fixed Sinking not visible in right panel after project import 2021-08-10 10:36:36 +02:00
YuSanka d6370a16fa DoubleSlider: Fix for #6756 - Cannot Color Change (M600) at height when MMU Painting
+ Fixed update for the ruler when "No sparce layer" option is enabled
2021-08-09 17:30:51 +02:00
YuSanka 4efce682e1 Fix for #6782 - Clicking On Another Modifier while Changing a Modifier Parameter crashes PrusaSlicer 2021-08-09 13:38:48 +02:00
YuSanka 1f131d130f DoubleSlider with MM-printer preset: When Object has "Paint-on segmentation", DoubleSlider has same behavior as with modifiers
+ MSW specific: Use BitmapComboBox instead of wxBitmapComboBox to DarkMode for extruder selectors
2021-08-09 13:38:48 +02:00
YuSanka b1330580b3 MessageDialog: Set html page size respecting to text size
+ Fixed layout of the unit in "Height ranges" panel
2021-08-06 15:08:11 +02:00
YuSanka d543d2f29d Fixed "volume is splittable" detection 2021-08-06 15:04:23 +02:00
YuSanka c09e7fb2e2 MSW-specific: Notebook control: Fixed layout of notebook tabs 2021-08-06 11:37:28 +02:00
YuSanka 7fd9a9cf6e ObjectList: Fixed a crash during a print technology change when InfoItem is selected
+ Add "Gallery" menu Item for Advanced mode too
2021-08-04 12:35:44 +02:00
YuSanka 0092c448b8 OSX specific: GalleryDialog: Fixed scale of the default icon 2021-08-03 11:28:58 +02:00
YuSanka 1b49dd9869 PhysicalPrinterDialog: Remove all leading and trailing spaces from "print_host" input 2021-08-03 09:25:54 +02:00
YuSanka 4f1a092ae0 PrintHostQueueDialog: MSW specific in DarkMode: Fixed font color for the selected Item 2021-08-02 17:28:08 +02:00
YuSanka a26e9c46b2 Fixed build 2021-08-02 15:08:54 +02:00
YuSanka d86d11cc8e Shapes Gallery: Added PNG-files to the system gallery 2021-08-02 15:03:58 +02:00
YuSanka e8e3279511 Shapes Gallery :
- Suppress to create a PNG-files for system shapes
 - Allow to load the OBJ files
2021-08-02 15:00:41 +02:00
YuSanka 64c8a6de8f Manipulation Panel in DarkMode: Fixed a text color, when we use different colors for the axes 2021-07-30 14:22:58 +02:00
YuSanka 0bb5c2ef88 Auto color change: Fixed some cases:
* first layer is a little bit less than all another (like for elephant foot compensation)
* ignore small changes of the layer area
2021-07-30 11:16:30 +02:00
YuSanka 7fd34e52c1 PhysicalPrinterDialog: Use transparent background for the Plus/Minus buttons 2021-07-29 13:13:48 +02:00
YuSanka 3449550a7c MSW specific: Fixed strange layout after first switch between printer technology 2021-07-27 10:55:05 +02:00
YuSanka 84c6199015 Improvements for c5b7d4b2 fix 2021-07-26 16:17:21 +02:00
YuSanka 5f73724501 Search: Fixed a blinking for the first search 2021-07-26 15:06:18 +02:00
YuSanka e79bcee739 Fixed update of the default menu after changing of the mode.
+ Added check for the output directory for the G-code extport.
2021-07-26 14:41:38 +02:00
YuSanka a113f227f5 Use default last directory when we try to save a project with objects from Gallery 2021-07-26 11:34:52 +02:00
YuSanka 9154ebb165 ConfigWizard: Draw logo inside OnPaint instead of use of wxStaticBitmap 2021-07-23 16:03:17 +02:00