Commit Graph

422 Commits

Author SHA1 Message Date
Lukas Matena
bcd3842183 Fixing wxString::Format encoding mismatches (part 2) 2020-03-03 10:54:17 +01:00
YuSanka
7388947e1f Fix of #3739 (OSX: set width of "Editing" column
to avoid a column narrowing after a recreating of an application caused by a language changing)

+ Fix related to a bug, reported in #3617, about wrong placement of a "Purging volumes" button
translated to the some languages
2020-03-02 11:33:56 +01:00
bubnikv
b4d0d9610e Various changes in handling of profile compatiblilities
and the "show incompatible profiles" option.

It was not able to select the incompatible Print profile, which is
possible now.
(see Cannot select incompatible printer profile #3715)

When the Printer profile derived from the Prusa3D system profile was
active or a system Prusa3D profile was active, and when the Print profile
with the removed "inherits" field was active (or any other profile
derived from the "-- default --" profile was active), then the filament
selector offered just the profiles with the removed "inherits" field
(or any other profile derived from the "-- default--") profile.
This behavior has been now changed, so that in this scenario the Filament selector
will offer the Prusa3D vendor profiles compatible with the active Print
and Printer profile as well as the user profiles.

Slicer was also changed to keep an incompatible preset selected
at its respective tab if its respective "Red flag" is enabled.
For example, if an incompatible Print preset is selected and a Printer
profile is switched to another one which is not compatible with the active
Print preset that was red already, the active Print preset is
not switched if the Print "Red flag" is active. However, if the Print profile
was compatible before the Printer profile is switched and now the Print
profile becomes incompatible, another compatible Print profile is selected.

A likely bug in wxWidgets was worked around when switching a Print preset
on Plater, if the last item in the Print preset was active and incompatible,
and another Print preset was selected by the user. On Windows, an CBN_EDITCHANGE
is sent just after combo box selection change event and the CBN_EDITCHANGE
holds an index of the combo box item, which will be removed by the 1st event,
therefore leading to an assert in wxWidgets on CBN_EDITCHANGE. The workaround
is to disable processing of CBN_EDITCHANGE on Windows for the Plater
preset selection combo boxes.
2020-02-27 11:44:12 +01:00
Lukas Matena
74799ade14 Fixed two cases of crashes on application close
Both related to ObjectList - it was attempting to call plater after it was destroyed
Approved by @YuSanka
2020-02-21 10:02:41 +01:00
YuSanka
5e4a0b96b7 Linux issue: fixed Object's DnD with sub items 2020-02-20 14:19:00 +01:00
YuSanka
3631e938b2 Extruder selection for multiple selected objects/parts.
A Menu with colored icons is used now instead of wxGetSingleChoice.
All menus for extruder selection use colored icon
2020-02-17 11:26:40 +01:00
YuSanka
3f27802c0a Fix of Crash when trying to select extruders for multiple parts (#3657) 2020-02-14 13:27:25 +01:00
Enrico Turri
6914f688f8 ENABLE_BACKWARD_COMPATIBLE_RELOAD_FROM_DISK set as default 2020-02-13 12:43:19 +01:00
Enrico Turri
a1c0a29af2 ENABLE_BACKWARD_COMPATIBLE_RELOAD_FROM_DISK - Fixed inconsistencies for splitted and cutted objects 2020-02-07 09:49:48 +01:00
Enrico Turri
c6ca180142 Use frontend data to update labels 2020-02-06 15:19:53 +01:00
Enrico Turri
3981e25f75 Fixed labels auto-sizing 2020-02-06 12:06:39 +01:00
Enrico Turri
03680bb014 Follow-up of 3a99b23ec7 -> F5 accelerator added also to objects list 2020-02-03 15:47:09 +01:00
YuSanka
1472ad9b14 To fix blurred icons under OSX there is implemented PresetBitmapComboBox, derived from wxBitmapComboBox,
which now will be used for preset choosers on sidebar a preset tabs.

+ for BitmapCache class added m_scale used for correct scaling of SVG images on Retina displays

+ some code clearing from unused functions or function's parameters
2020-01-31 16:57:45 +01:00
YuSanka
570f77cbdc Implemented DnD for objects inside ObjectList 2020-01-30 15:01:47 +01:00
YuSanka
635def1648 Fixed an icon scaling in the ObjectList under OSX 2020-01-27 16:30:09 +01:00
tamasmeszaros
be8f464bf8 Remove some gtk warnings on application start. 2020-01-27 14:31:49 +01:00
tamasmeszaros
b45e95877e Merge branch 'master' into lm_tm_hollowing 2020-01-23 17:43:18 +01:00
Enrico Turri
dd09077bba Reload from disk command enhanced to work with 3mf/amf files saved with PrusaSlicer 2.1.0 and earlier 2020-01-21 14:07:13 +01:00
Lukas Matena
0551411c48 Merge branch 'master' into lm_tm_hollowing 2020-01-06 12:41:29 +01:00
YuSanka
30f7a2b8e5 Fix of #3382 2020-01-03 16:09:16 +01:00
Lukas Matena
b3f15b1c98 Merge branch 'master' into lm_tm_hollowing 2019-12-20 10:33:53 +01:00
YuSanka
07f428fe62 Implemented function to get an icon name considering to OS color mode
For a Dark mode we start to looking of icons in folder "white"

Added missed "white" icons
2019-12-18 15:54:01 +01:00
YuSanka
7650732c61 Show context menu for a multi-object selection on 3DScene,
add "Reload from disk" item for this menu
2019-12-18 09:11:33 +01:00
YuSanka
967da67d2e Fixed disabling for "Set As separated object" context menu item
+ added missed bug fix in get_freq_settings_choice (part of b9899f9496)
2019-12-12 15:54:53 +01:00
YuSanka
30f259f79c Fixed a bug (OSX specific) caused a crash on undo after Copy/Past several objects 2019-12-12 13:49:12 +01:00
YuSanka
b9899f9496 Fixed a bug of settings list detection
,when we try to add settings for object/part from the 3Dscene secondary
and for this moment SettingsItem is selected in ObjectList
2019-12-12 13:42:13 +01:00
Lukas Matena
537260494d Merge branch 'master' into lm_tm_hollowing 2019-12-12 11:37:33 +01:00
YuSanka
d66761e030 Fixed wrong context menu selection for instance(s). Related to #3275 2019-12-11 16:07:00 +01:00
YuSanka
313e86ea94 Fixed show context menu for multiple selection in ObjectList 2019-12-10 17:25:30 +01:00
YuSanka
fea91829eb Localization improvements:
* added wrapper to SliderFloat in imgui
 * fixed localized text in Mouse3DController
 * added take_snapshot for extruder change in object list
 * fixed text typos in AppConfig.cpp, ConfigWizard.cpp and ConfigManipulation.cpp
2019-12-04 16:11:10 +01:00
YuSanka
ee71f83939 Localization improvements:
* fixed "\n" at the end of phrases
 + updated list of files to localization
 + new PrusaSlicer.pot
 + Japanese localization
2019-12-04 11:14:13 +01:00
YuSanka
74e4a743af Added missed update for a config after extruder change from the ObjectList.
Fixed erase "tool_change" ticks from ticks set.
2019-11-12 10:42:20 +01:00
YuSanka
ae4948bd94 Fixed crash from start if SLA preset is selected.
Fixed extruder selection from ObjectList under OSX
2019-11-08 11:24:57 +01:00
tamasmeszaros
bdf6f7342e Hollowing step in SLAPrint process, PrintConfig params added. 2019-11-06 13:38:43 +01:00
YuSanka
c564f693e9 Merge remote-tracking branch 'origin/master' into ys_color_print_extension 2019-11-03 19:34:34 +01:00
Lukas Matena
8b5561aec7 Fixed several warnings 2019-10-29 10:40:34 +01:00
YuSanka
33ba6fe4c6 Implemented possibility to set extruder sequence for whole print 2019-10-18 12:35:35 +02:00
YuSanka
62b7892fa1 OSX: Call m_extruder_editor->Hide(), when extruder selection in ObjectList is changed 2019-10-10 16:13:27 +02:00
Enrico Turri
a6a7303e25 Fixed context menu showing up when user right clicks on 3D scene and release the mouse button after dragging over the objects list 2019-10-09 13:39:24 +02:00
Enrico Turri
835ee148e5 Fixed conflicts after merging with master 2019-10-09 11:17:48 +02:00
YuSanka
ffa544ade3 Merge remote-tracking branch 'origin/ys_extruders_color' 2019-10-03 14:25:25 +02:00
YuSanka
da7275bdea Merge remote-tracking branch 'origin/ys_manipulation_panel_rw' 2019-10-03 14:24:20 +02:00
YuSanka
8bc569284e Corrected editor position and size 2019-10-02 16:14:40 +02:00
YuSanka
9e01740db6 More improvements 2019-10-02 15:02:13 +02:00
YuSanka
4171a6a80d Improvements for 15902766d0 2019-10-02 14:08:36 +02:00
YuSanka
15902766d0 Workaround for extruder editing under OSX 2019-10-02 11:53:50 +02:00
YuSanka
a0b46a4019 Merge remote-tracking branch 'origin/master' into ys_extruders_color 2019-10-01 18:20:59 +02:00
YuSanka
d7ebc4de5b Added color for extruder 2019-10-01 18:19:28 +02:00
Lukas Matena
5ded376fe2 An attempt to fix #2997
More fixes might be needed on the other platforms
2019-09-28 09:57:26 +02:00
YuSanka
efb9ef37f6 Merge remote-tracking branch 'origin/master' into ys_manipulation_panel_rw 2019-09-25 11:33:19 +02:00