Commit Graph

13996 Commits

Author SHA1 Message Date
David Kocik
878fac4c44 filament selection: bug fix - * sign is again visible at profiles 2020-10-05 09:48:55 +02:00
enricoturri1966
04a928b241 Follow-up of 8df01818dd -> GCodeProcessor uses new Machine Limits limitations 2020-10-05 09:15:43 +02:00
David Kocik
2b24a21098 Correct strings in configWizard 2020-10-04 21:11:56 +02:00
YuSanka
52557b4263 Merge remote-tracking branch 'origin/ys_splashscreen_on_mac' 2020-10-03 03:18:01 +02:00
YuSanka
6255792181 UnsavedChangesDialog improvements:
* Changed some labels on buttons. The Dialog name shows a purpose now
 * SaveDialog is called, when UnsavedChangesDialog is shown.
 * Added prototype for the "exit" icon

+ Fixed layout for the "Machine limits" page
2020-10-03 03:15:54 +02:00
YuSanka
48f775decb A part of code related to loads after App::OnInit() call is moved from PrusaSlicer.cpp to GUI_App.cpp
Splash Screen under OSX requires a call of wxYeild() for update.
But wxYield() furthers a case, when CallAfter() in CLI::run() was called at the wrong time, before some of the GUI was created.
So, there is workaround:
Parameters needed for later loads are encapsulated to GUI_App::AFTER_INIT_LOADS structure
and are used in GUI_App::AFTER_INIT_LOADS::on_loads which is called just ones after wxEVT_IDLE
2020-10-02 22:27:20 +02:00
bubnikv
8df01818dd Limiting the application of Machine Limits
https://github.com/prusa3d/PrusaSlicer/issues/1212

WIP: The hints do not rescale when switching the "usage" combo box.
The new g-code time estimator needs to be updated to not read
the machine limits if not enabled.
2020-10-02 17:32:03 +02:00
enricoturri1966
0f44caa99c ENABLE_SLOPE_RENDERING set as default
Slope rendering active only when using Gizmo FDM supports
2020-10-02 15:43:39 +02:00
enricoturri1966
38ddc5fdc4 New image for gcode viewer splash screen 2020-10-02 13:20:48 +02:00
enricoturri1966
1f4010ba4e Orange background for imgui buttons 2020-10-02 13:02:56 +02:00
YuSanka
8459d77959 Deleted use of TaskTimer in OnInit
+ code cleaning in MainFrame
2020-10-02 12:11:27 +02:00
enricoturri1966
97e3100c73 Removed obsolete images for splash screen 2020-10-02 11:42:27 +02:00
enricoturri1966
11d8a2ad8e Start PrusaSlicer in gcode viewer mode when dragging and dropping a .gcode file on the application icon 2020-10-02 11:40:21 +02:00
David Kocik
0435993309 Merge branch 'dk_notifications' into master 2020-10-02 10:28:06 +02:00
David Kocik
092a9f80b6 notifications: avoid collision with gizmos on same position by moving to left 2020-10-02 10:27:31 +02:00
David Kocik
ec6599da98 notifications: sla supports outside error appearing/disappearing 2020-10-02 10:27:31 +02:00
enricoturri1966
3fe61cfec2 Progress dialog while generating toolpaths to render enabled only for standalone gcode viewer 2020-10-02 10:26:27 +02:00
Lukas Matena
dd94b34a8d Fixed missing include on Linux, printf format string fix
boost/format.hpp was missing in the header
2020-10-02 09:32:50 +02:00
enricoturri1966
1130778d5e Small fix in debug tech ENABLE_GCODE_VIEWER_DATA_CHECKING 2020-10-02 09:14:43 +02:00
YuSanka
3ec462e8f5 Fixed a crash when preset with "modified"suffix is selected 2020-10-02 09:02:16 +02:00
YuSanka
1fb400a091 use wxYield on mac to show the splashscreen 2020-10-02 08:32:44 +02:00
Lukas Matena
f1c24e6a8c Fix build with wxWidgets 3.0 2020-10-02 00:11:44 +02:00
YuSanka
2bba0e3131 Physical printers: Implemented import/export to/from the ConfigBundle.
+ fixed a bug : Case sensitivity of printer's name wasn't check during the adding of a new printer,
as a result in printers list was appeared both of printers (ex. "YuSanka" and "yusanka"), but related file was just one.
2020-10-01 22:48:57 +02:00
Vojtech Bubnik
94a9820661 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-10-01 20:12:50 +02:00
bubnikv
50293c0f86 Fixing a missing include on Windows. 2020-10-01 20:15:40 +02:00
Vojtech Bubnik
ee58ab4e2d Merge branch 'vb_optgroup_refact' 2020-10-01 20:05:31 +02:00
bubnikv
f35efb8fe5 Win32 specific: Workaround for tooltips over Tree Controls displayed
over excessively long tree control items, stealing the window focus.

In case the Tab was reparented from the MainFrame to the floating dialog,
the tooltip created by the Tree Control before reparenting is not reparented,
but it still points to the MainFrame. If the tooltip pops up, the MainFrame
is incorrectly focussed, stealing focus from the floating dialog.

The workaround is to delete the tooltip control.
Vojtech tried to reparent the tooltip control, but it did not work,
and if the Tab was later reparented back to MainFrame, the tooltip was displayed
at an incorrect position, therefore it is safer to just discard the tooltip control
altogether.
2020-10-01 19:58:23 +02:00
Vojtech Bubnik
b17c829c9a Fixed crash on Linux on startup 2020-10-01 19:16:23 +02:00
bubnikv
0bdfb6ab92 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-10-01 15:12:19 +02:00
bubnikv
b71e5c2763 Maybe one day we will be able to run PrusaGCodeViewer, but for now the Apple notarization
process refuses Apps with multiple binaries and Vojtech does not know any workaround.
Just run PrusaSlicer and give it a --gcodeviewer parameter.
2020-10-01 15:11:56 +02:00
David Kocik
6a46708608 fix in ConfigWizard.cpp 2020-10-01 09:46:00 +02:00
enricoturri1966
74dba68340 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-10-01 09:33:20 +02:00
enricoturri1966
8ded9dc0fd Improved performance of progress dialog shown while generating toolpaths for render 2020-10-01 09:33:05 +02:00
David Kocik
b8cf929532 Merge branch 'dk_notifications' into master 2020-10-01 09:31:02 +02:00
David Kocik
661534042b notifications: changed some plater warnings into errors, fixed not showing plater warnings in preview. 2020-10-01 09:30:11 +02:00
David Kocik
a47178557f notification orange color for hypertext 2020-10-01 09:30:11 +02:00
David Kocik
11344083c8 Merge branch 'dk_filaments' into master 2020-10-01 09:29:18 +02:00
David Kocik
43f122b5ee Filament selection in configuration wizard:
compatible printers in html window, bug fixes.
2020-10-01 09:28:17 +02:00
enricoturri1966
fad1f5e84f Fixed typo 2020-10-01 08:34:16 +02:00
Lukas Matena
26fb87242b Merge branch 'lm_sphere_cursor2' 2020-10-01 00:51:09 +02:00
Lukas Matena
3f7d41df15 Imgui dialog layout adjustments after the new combo was added 2020-10-01 00:49:14 +02:00
Lukas Matena
3ec5d9e2cf Cache raycast results so they don't have to be repeated on the same mouse pos
Fixed incorrect handling of clipping plane with multiple volumes - only the first volume was correctly clipped by the painter.
2020-10-01 00:05:59 +02:00
Lukas Matena
fac7e735ac Moved the raycasting query in painting gizmos to a separate function
This way it can be called when rendering the spherical cursor and when processing the mouse clicks/drags
2020-10-01 00:05:18 +02:00
Lukas Matena
6744a40cd5 Slight refactoring 2020-10-01 00:05:12 +02:00
Lukas Matena
1ca8120398 Sphere selection added as an option for painting gizmos 2020-10-01 00:05:01 +02:00
Lukas Matena
c696e6ec19 Experiment with spherical cursor (painting gizmos) 2020-09-30 17:34:11 +02:00
Lukas Matena
8bf0f75e83 Fixed compilation with wxWidgets 3.0 2020-09-30 17:33:08 +02:00
enricoturri1966
1ca872f81e Fixed size of selected single volumes 2020-09-30 15:11:17 +02:00
bubnikv
e8325a8e2d Fixes of DPI scaling on Windows. 2020-09-30 14:02:23 +02:00
enricoturri1966
dad8a47741 Fixed splash screen info label 2020-09-30 13:35:19 +02:00