Commit Graph

6337 Commits

Author SHA1 Message Date
f4883fb4a3 Change in checking model name in physical printer dialog 2021-11-10 15:56:50 +01:00
9fcbaa0b25 Imgui now recognizes numpad enter key presses 2021-11-10 15:42:25 +01:00
63a5fdc613 Changes in notifying about new releases.
- Unified preferences settings. version_check option is replaced with notify_release that has 3 states.
- fixed logic when show notification based on version string.
- notification shows released version
- dialog notifying new version is never showing if external updater is running.
Escape quotes inside path to external updater
2021-11-10 15:27:46 +01:00
5cfdc2c436 External updater is only run in GUI mode 2021-11-10 15:27:46 +01:00
269165631e Improvement of previous commit:
- use boost::nowide instead of WinAPI for the encoding conversion
- only add the node when it is not empty
2021-11-10 11:39:34 +01:00
82864f92e0 Follow up e8be7b2ecd - Remove unused code 2021-11-10 11:31:14 +01:00
9157b57476 Windows: Include blacklisted libraries in SendSystemInfo data 2021-11-10 11:09:37 +01:00
9d650e1ab3 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
e1104626de 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
279150dc7f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_imgui_slider 2021-11-09 15:09:32 +01:00
69136fd54e MsgDialog: Delete redundant code (fix for https://github.com/prusa3d/PrusaSlicer/issues/7254) 2021-11-09 12:52:59 +01:00
49bd0e4e6f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_imgui_slider 2021-11-08 13:44:13 +01:00
8e76324ad9 Tech ENABLE_ENHANCED_IMGUI_SLIDER_FLOAT - Changed background color of additional button and its icon 2021-11-08 13:43:53 +01:00
4c0067e97f #7258 - Fixed cut of merged object 2021-11-08 12:56:38 +01:00
145b095ce4 OSX specific: Fix of #7259 - (Darker colors of objects inside the multi-material gizmo on macOS Monterey on Arm64 CPU)
Since macOS 12 (Monterey), the issue with the opposite direction on macOS running on Arm64 CPU seems to be fixed, and computed triangle normals inside fragment shader using dFdx and dFdy have the right direction.
So the previous patch bad51cdb52 is constrained to just macOS versions before macOS 12 (Monterey).
2021-11-08 11:27:24 +01:00
beec6e7518 MSW: Dark Mode: Update of PrintHostDialogs 2021-11-08 11:06:48 +01:00
4d4c4558ae Fixes issue #7247: Wxwidgets 3.0 yet again. MsgDialog.hpp:270:40: error: ‘wxASCII_STR’ was not declared in this scope
Replace wxASCII_STR with wxString::FromAscii for compatibility with wxWidgets 3.0
2021-11-08 10:00:29 +01:00
c96d450393 #7245 - Added validation of values typed by user in scale and size fields of object/part manipulator in sidebar 2021-11-08 08:38:37 +01:00
626a4a8883 Tech ENABLE_ENHANCED_IMGUI_SLIDER_FLOAT - Additional button, added to imgui float slider, using svg icon 2021-11-08 08:29:19 +01:00
5a5097a856 Added a missing include (GCC 11.1). 2021-11-05 22:52:13 +01:00
c4c68f1a89 Added "Color" parameter for SLA material 2021-11-05 17:22:37 +01:00
6e81ec86c8 Fix some mesh errors in sl1 archive reconstruction 2021-11-05 15:43:40 +01:00
2aff8076a6 Do not reset sl1 import dialog settings between imports 2021-11-05 15:31:27 +01:00
eacc7f5c96 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
789b79c76f Change float slider to wrap function. Enrico's request 2021-11-05 14:48:37 +01:00
43a0ffd626 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_imgui_slider 2021-11-05 14:47:21 +01:00
2cfcc63c58 Tech ENABLE_ENHANCED_IMGUI_SLIDER_FLOAT - Modified ImGuiWrapper::slider_float() to create a compound widget where an additional button can be used to set the keyboard focus into the slider to allow the user to type in the desired value 2021-11-05 14:46:44 +01:00
562b60a3db 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
03c54e612a Copying from other config folders:
Find if there is more recent config in other folders (alpha / beta / release).
If yes, ask user, make snapshot, copy files.
if there is no current config, ask user and copy recent one.
2021-11-02 10:51:45 +01:00
4895456a6f Hint hypertext preferences highlight 2021-11-02 10:51:45 +01:00
bc9be829c3 ExportOutgoing notification should not show on upload 2021-11-02 10:51:45 +01:00
2c49e3149e Fix of #7170. Delayed notification is not moved until push will succeed. 2021-11-02 10:51:45 +01:00
4a205dd33f Wrong build on windows system (32 vs 64bit) dialog 2021-11-02 10:51:45 +01:00
44bac15901 SLA supports gizmo: selection rectangle now selects partially obscured points as well 2021-11-01 13:02:25 +01:00
d5544221ad SendSystemInfo: Reworked internet connection check,
now we only do the check on Windows, see the comments
in the code for details.
2021-11-01 12:57:49 +01:00
cef03ccb7f Fixed a tripping assert 2021-11-01 12:52:45 +01:00
1a02d21af7 #7211 - Fixed reset direction of view clipping not aligning cut surface correctly when viewed from Left or Right 2021-11-01 11:08:02 +01:00
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
144bdc4ce8 MSW DarkMode: Set mode colors for "Change volume type" dialog. 2021-10-29 08:46:29 +02:00
0292826482 New code for minimum enclosing circle by randomized Welzl algorithm.
Split the circle code from Geometry.cpp/hpp to Geometry/Circle.cpp,hpp
2021-10-27 15:12:29 +02:00
0e51f2f15f Fixed missing sinking property in objects list for multipart objects with a part completely below the printbed 2021-10-27 14:33:02 +02:00
a5507122d6 #7160 - Fixed drag object on mouse move cause wrong color when outside the print area 2021-10-27 10:37:35 +02:00
35ed791c36 Follow-up to 0c29eb9943
Next code refactoring: m_support_material_overhangs_queried have to be initialized from outside just once
2021-10-26 16:36:07 +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
114e924654 Tech ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS - Printbed collision detection made cheaper for rectangular beds and faster for circular beds 2021-10-26 08:45:21 +02:00
bcdf25a22f MSW Dark mode: Set mode colors for RichToolTips 2021-10-26 08:28:03 +02:00
a979af99af Follow up e2475c9576 = code refactoring 2021-10-25 16:55:02 +02:00
7a0f5a743b Allow to enter empty value for "G-code thumbnails" option 2021-10-25 16:28:08 +02:00
f611be3762 Workaround for #6814 2021-10-25 14:45:03 +02:00
0a72201e2e ConfigWizard: Added missed Refresh() 2021-10-25 13:59:22 +02:00