YuSanka
fc089fd2c5
Code refactoring for https://github.com/prusa3d/PrusaSlicer/commit/d88ef826cd9be79ef55d735dda5a938a085da3f2
...
reload_scene() call were followed by update(). It synchronizes back-end with front-end and then it calls reload_scene() again.
However in SLA mode reload_scene() expects the back-end to be synchronized with front-end, thus we get asserts that we all have ignored for a long time.
So, we call ObjectList::update_info_items() after the call of update() where reload_scene() is already called and GLCanvas3D::is_object_sinking() will return correct value
2021-12-02 11:26:20 +01:00
YuSanka
b78b91b72e
Localization: Updated CZ, DE, ES, FR, IT and PL dictionaries.
...
+ Fixed some of phrases and updated POT-file
2021-12-01 13:07:25 +01:00
YuSanka
8fc620375c
Fix for #7384 - From/To UTF8 conversation issue for text controls in Settings Tabs
...
+ BitmapComboBox: fixed warning under MSW
2021-11-30 12:32:40 +01:00
YuSanka
a8cc19127e
Hide "Height range Modifier" menu item for the Simple mode
...
suggestion from the https://github.com/prusa3d/PrusaSlicer/issues/7381
2021-11-30 11:35:53 +01:00
YuSanka
f5cf3cb81d
MSW specific: Hide "Use system menu for application" option in Preferences for system older then Windows 10
...
(related to the fix of #7355 - PrusaSlicer 2.4.0-beta-2+win64 will not start on Windows 7 64-bit )
+ Updated URL_HASH SHA256 in wxWidgets.cmake in respect to the 51c824019e98fc97b0bcdd4d9f4ed4cb523a7cac in wxWidgets-v3.1.4-patched
2021-11-29 21:00:43 +01:00
YuSanka
84c4f181e4
Next fix for #6814 .
...
"support_material_overhangs_queried" variable have not to be static after a fixing of the #6124 .
2021-11-26 11:35:29 +01:00
YuSanka
609bd4046c
Preferences: Beautification
...
Text settings: Wrap a label_text to the max 80 characters
MSW specific: Update alignment of the "Dark mode" tab
2021-11-23 16:39:53 +01:00
YuSanka
9029f63d0c
Fixed minor bug - Added missed layout of the Tab, when preset is saved with new name.
...
"Delete" button wasn't observed
2021-11-23 15:54:41 +01:00
YuSanka
0c110af1df
Localization: Next text improvements
...
+ new POT
+ new CZ translation
2021-11-23 14:56:41 +01:00
YuSanka
7828964f8c
Fix for #7328 - Filename containing chars not usable on FAT result in error and crash in gcode export
2021-11-23 13:53:58 +01:00
YuSanka
93bd5ee08b
Fixed a typo in 02c18dbc52.
...
Id of the WipeTower is equal to 1000
2021-11-22 09:52:02 +01:00
YuSanka
1b7975639e
Follow-up https://github.com/prusa3d/PrusaSlicer/commit/172b97cc2a3ed1290ee0c02b164379d0e38bc39e - Show context menu only on right mouse click
2021-11-21 18:15:59 +01:00
YuSanka
21c8f373ff
Code refactoring for 69731b1d => nsvgParseFromFileWithReplace() is extracted from nanosvg.h to BitmapCache
2021-11-19 17:00:38 +01:00
YuSanka
244b66649c
Check unsaved preset changes only when presets have been changed in the project
2021-11-19 16:33:28 +01:00
YuSanka
172b97cc2a
Fix for #7270 - Feature Request: Right-click object table name-field should bring up context-menu - same as in 3D Editor View
...
+ removed unused code
2021-11-19 10:24:02 +01:00
YuSanka
36df8df8b4
Fix for #6124 - Looped "Wipe Tower" message box, can't quit
...
Always add overloaded parameters for Object/Parts Settings to avoid lopped messages
2021-11-18 17:30:52 +01:00
YuSanka
c447c84d2c
Fixed non-WIN builds
2021-11-18 17:03:49 +01:00
YuSanka
5271877182
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into master
2021-11-18 14:34:41 +01:00
YuSanka
b3074ad2cc
DoubleSlider: Added calculation of the new color for "ColorChange"
2021-11-18 14:28:58 +01:00
YuSanka
1aaa4845c5
Partially ported https://github.com/supermerill/SuperSlicer/commit/ff195fc9 (Add max_literal to setting def, to set the threshold for popup warning for float% fields) from @SuperSlicer
...
(related to https://github.com/prusa3d/PrusaSlicer/issues/2829#issuecomment-955606863 )
2021-11-16 13:44:48 +01:00
YuSanka
d6306f00b7
Resin colors: Set default value when color wasn't set in config
2021-11-16 12:48:13 +01:00
YuSanka
f535b592ac
Fixed a crash when loading STL file (from https://github.com/prusa3d/PrusaSlicer/commit/02c18dbc521ef33c2e23a3996c50ee60eecf8d2a )
...
+ Added info_icon next to the "Volume" value
2021-11-16 09:42:20 +01:00
YuSanka
02c18dbc52
Sidebar: Info box: Fixed value of the "Volume"
...
+ Hidden "Materials" item
2021-11-15 17:36:01 +01:00
YuSanka
871311c95c
Fix for #7301 - Endless loop telling me 'Supports work better if the following feature is enabled: bridging perimeters' when setting 'generate support material' on a single object
...
This bug was from https://github.com/prusa3d/PrusaSlicer/commit/0c29eb9943df769ed045bd88f159406ecf9763ed
2021-11-15 10:48:53 +01:00
YuSanka
a6863961f7
Localization + new POT
...
+ added hyperlinks for Ironing parameters
2021-11-15 08:32:40 +01:00
YuSanka
8ef03718d0
Linux specific: Using a pop-up menu on the "cog" wheel for changing of an extruder color.(related to #6759 )
...
+ some code refactoring
+ change a little bit gray color in colorchange_del icons to avoid collision in Dark mode
2021-11-12 14:02:18 +01:00
YuSanka
e70fc7f0da
OG_CustomCtrl: Code refactoring - Use standard RichMessageDialog instead of own written
2021-11-12 12:13:29 +01:00
YuSanka
8bfa132a1b
Localization fixes + new POT
2021-11-12 09:21:41 +01:00
YuSanka
d599c85477
Fixed typo in https://github.com/prusa3d/PrusaSlicer/commit/a0e6c7a076c2b63eb5027757a8d398a8715152b4
2021-11-11 12:50:25 +01:00
YuSanka
a0e6c7a076
Follow up https://github.com/prusa3d/PrusaSlicer/commit/a3f6ce1ac6a37c10e078672215c93bc0d705cab0
2021-11-11 10:31:12 +01:00
YuSanka
64e926b363
Fixed endless "New project" possibility
2021-11-11 08:46:39 +01:00
YuSanka
de1785760c
Follow up https://github.com/prusa3d/PrusaSlicer/commit/e8be7b2ecd3a21676af73805f96157f37418f8e5 - Remove unused code
2021-11-10 11:31:14 +01:00
YuSanka
a3f6ce1ac6
MsgDialog: Some code refactoring.
...
Use style for whole Dialog instead of wxWindowID for just one default button
2021-11-10 10:49:43 +01:00
YuSanka
e8be7b2ecd
Implemented possibility to show resin colors from the Plater (Bottles with resin are colored now in preset combobox)
...
+ Added nsvgParseFromFileWithReplace() to replace some colors before parsing from SVG file
+ Thumbnails are saved with selected resin color in SL1 or SL1S files
+ "white" folder is deleted from "icons" now. THere is no needed anymore.
2021-11-09 17:01:50 +01:00
YuSanka
a5f20d4c71
MsgDialog: Delete redundant code (fix for https://github.com/prusa3d/PrusaSlicer/issues/7254 )
2021-11-09 12:52:59 +01:00
YuSanka
8bc074f5f2
MSW: Dark Mode: Update of PrintHostDialogs
2021-11-08 11:06:48 +01:00
YuSanka
2fcab52f86
Added "Color" parameter for SLA material
2021-11-05 17:22:37 +01:00
YuSanka
bbcedae5fd
MSW: DarkMode: Improvements for message Dialogs
...
* A little bit reworked MsgDialog: Checkbox and buttons are placed under the Static line
* Implemented wrapper for wxRichMessageDialog
+ Implemented wrapper for wxStaticLine
2021-11-05 15:20:06 +01:00
YuSanka
aff9e1f7ea
MSW_DarkMode: Next Improvements
...
* Refreshed title bar for all Dialogs and MainFrame
* Refreshed header of the DataViewCtrl and ListView
* Refresh tooltips
* Redraw SpinCtrls
* Use system menu with is colored in respect to the color mode
* Preferences: Added parameter "Use system menu for application" and moved to the "Dark mode" tab with "Enable Dark mode parameter"
2021-11-05 10:01:13 +01:00
YuSanka
7520e2f193
Updated SHA256 in wxWidgets.cmake
2021-11-05 09:41:18 +01:00
YuSanka
23ab9fb181
MSW DarkMode: Set mode colors for "Change volume type" dialog.
2021-10-29 08:46:29 +02:00
YuSanka
e5b51a654d
Follow-up to https://github.com/prusa3d/PrusaSlicer/commit/0c29eb9943df769ed045bd88f159406ecf9763ed
...
Next code refactoring: m_support_material_overhangs_queried have to be initialized from outside just once
2021-10-26 16:36:07 +02:00
YuSanka
ef0dae8c97
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
YuSanka
054dd569af
MSW Dark mode: Set mode colors for RichToolTips
2021-10-26 08:28:03 +02:00
YuSanka
0c29eb9943
Follow up e2475c9576 = code refactoring
2021-10-25 16:55:02 +02:00
YuSanka
0836fbb453
Allow to enter empty value for "G-code thumbnails" option
2021-10-25 16:28:08 +02:00
YuSanka
e2475c9576
Workaround for #6814
2021-10-25 14:45:03 +02:00
YuSanka
038459b083
ConfigWizard: Added missed Refresh()
2021-10-25 13:59:22 +02:00
YuSanka
8d0a4c7cd6
SendSystemInfoDialog: Use button instead of hyperlink
...
+ Fixed wsWidgets asserts
2021-10-22 15:36:07 +02:00
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