Commit Graph

13822 Commits

Author SHA1 Message Date
b2fb9064f5 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
081330f0fd use wxYield on mac to show the splashscreen 2020-10-02 08:32:44 +02:00
e90cc1c1f7 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
fddbd20570 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-10-01 20:12:50 +02:00
c53e14d6d4 Fixing a missing include on Windows. 2020-10-01 20:15:40 +02:00
75bc8f6d2c Merge branch 'vb_optgroup_refact' 2020-10-01 20:05:31 +02:00
b1ce406f33 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
c2db7ff6fb Fixed crash on Linux on startup 2020-10-01 19:16:23 +02:00
cc6a96164e Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-10-01 15:12:19 +02:00
140cf15222 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
8346bd3679 fix in ConfigWizard.cpp 2020-10-01 09:46:00 +02:00
46a8596bbc Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-10-01 09:33:20 +02:00
3020a12d0e Improved performance of progress dialog shown while generating toolpaths for render 2020-10-01 09:33:05 +02:00
d7b8d547ae Merge branch 'dk_notifications' into master 2020-10-01 09:31:02 +02:00
630859ef39 notifications: changed some plater warnings into errors, fixed not showing plater warnings in preview. 2020-10-01 09:30:11 +02:00
03feeed8c9 notification orange color for hypertext 2020-10-01 09:30:11 +02:00
aa22b464ae Merge branch 'dk_filaments' into master 2020-10-01 09:29:18 +02:00
39d44ecc6c Filament selection in configuration wizard:
compatible printers in html window, bug fixes.
2020-10-01 09:28:17 +02:00
28070e012c Fixed typo 2020-10-01 08:34:16 +02:00
91decf09c0 Merge branch 'lm_sphere_cursor2' 2020-10-01 00:51:09 +02:00
a186a4cafc Imgui dialog layout adjustments after the new combo was added 2020-10-01 00:49:14 +02:00
f54bb097ff 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
9c3877fde1 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
9de2729ff2 Slight refactoring 2020-10-01 00:05:12 +02:00
1b6c75e98f Sphere selection added as an option for painting gizmos 2020-10-01 00:05:01 +02:00
0097301194 Experiment with spherical cursor (painting gizmos) 2020-09-30 17:34:11 +02:00
d6deb1b9f4 Fixed compilation with wxWidgets 3.0 2020-09-30 17:33:08 +02:00
cdd09efada Fixed size of selected single volumes 2020-09-30 15:11:17 +02:00
b3b989158a Fixes of DPI scaling on Windows. 2020-09-30 14:02:23 +02:00
78b9272503 Fixed splash screen info label 2020-09-30 13:35:19 +02:00
d0ee9601b7 Fixed red background wrongly showing up when slicing with SLA printer 2020-09-30 13:24:37 +02:00
6358bbaa17 Follow-up of 63ab60467a -> Code cleanup 2020-09-30 11:59:41 +02:00
311aa7d911 Added progress dialog while generating toolpaths to render 2020-09-30 11:56:02 +02:00
68143d20ed #4808 - Fixed incorrect detection of toolpaths outside of printbed 2020-09-30 10:58:14 +02:00
f97f620903 #4806 - Fixed detection of move type for G1 lines containing Z>0 and E>0 2020-09-30 08:34:29 +02:00
4cf7912698 New 3rd party printer profiles, prepared by @rtyr
Anycubic (5 printers from 3 contributors)
https://github.com/prusa3d/PrusaSlicer/pull/4057
https://github.com/prusa3d/PrusaSlicer/pull/4220
https://github.com/prusa3d/PrusaSlicer/pull/4619
TriLAB
https://github.com/prusa3d/PrusaSlicer-settings/pull/100
Creality
based on https://github.com/prusa3d/PrusaSlicer/pull/4485
https://github.com/prusa3d/PrusaSlicer/pull/4748
2020-09-29 18:07:18 +02:00
267d72a952 Merge remote-tracking branch 'remotes/origin/vb_modelobject' 2020-09-29 16:31:18 +02:00
cfe305a97a Refresh the page tree immediately after key press. 2020-09-29 14:47:03 +02:00
21a75575f3 Cancellation of parameter page build process. 2020-09-29 13:36:56 +02:00
2439458ce0 Faster switching of parameter pages if the page is switched
by cursor keys in the tree control:
The page update is delayed to idle.
2020-09-29 11:04:25 +02:00
c69d6e4b01 OSX specific: Set SplashScreen as TopWindow 2020-09-29 08:39:57 +02:00
e340463eaf SplashScreen improvements:
* Added MakeBitmap() to create a bitmap from input version image
 * Editor/Viewer logo is added now in SplashScreen::Decorate()
2020-09-28 20:41:51 +02:00
ad303d608c FDM painting gizmos (support/seam) now render object in neutral color
The goal is to ensure enough contrast independent on current filament color
2020-09-25 16:05:34 +02:00
426ca30819 Merge branch 'dk_instances' into master 2020-09-25 15:13:31 +02:00
0217aeda32 InstanceCheck: typo in DBus function name 2020-09-25 15:13:01 +02:00
03bf1799c0 Fixup of previous commit 2020-09-25 13:00:43 +02:00
4a8ec3a3c2 Wipe tower - small refactoring and fix
Collection of data from internal wipe tower gcode generator now uses move semantics.
Part of gcode at the end of priming was erroneously not exported (extruder current reset etc.)
2020-09-25 12:35:20 +02:00
925bdb2c16 Updated SplashScreen
+ Increased gap_size for main and undo/redo toolbars
2020-09-25 11:02:54 +02:00
6fe520be2d Fixed crash on BedShapeDialog creation 2020-09-25 10:44:22 +02:00
4b02e888ee Fix crash in adaptive infill when an extrusion line width is zero.
When an extrusion line width is set to zero, then an extrusion line width is calculated from nozzle diameter.
2020-09-25 09:54:27 +02:00