Commit Graph

33 Commits

Author SHA1 Message Date
David Kocik
5d698b377a Keyboard shortcut at notification hover - eject sd 2020-12-18 15:48:59 +01:00
David Kocik
f1f4d31ab5 Changed requested time of rendering for timed notification to full duration. Commented unused code. 2020-12-16 17:43:51 +01:00
Vojtech Bubnik
cf4cf7ab78 Some refactoring of the fade out of notifications:
1) Use different wxWidgets call to get current time on Windows vs Unix
   for efficiency reasons.
2) Don't call this function multiple times in a single function, it is
   both expensive and not correct: One shall work with the same timestamp.
3) Added missing unbind of the new timer.
2020-12-16 16:15:58 +01:00
Vojtech Bubnik
6d5403681f Disabled "error" outputs
1) they should have been trace and
2) likely they should have been only enabled in debug mode and only
   through conditional compilation
2020-12-16 14:40:56 +01:00
David Kocik
9ca531bb30 render timer 2020-12-16 14:15:12 +01:00
David Kocik
e8fe841b79 render timer draft 2020-12-16 14:15:12 +01:00
Lukas Matena
cd105b53d5 Remove custom supports/seams after mesh repair
The repair can remove some of the triangles, so the custom data would make no sense.
This will hopefully fix #5458

Also, show a notification with a hyperlink to undo just before the repair.
2020-12-14 22:59:02 +01:00
David Kocik
fa3c7ae5ca export finished to hdd notification got fadeout after 20 sec 2020-12-11 08:40:40 +01:00
David Kocik
682380d170 GLCanvas on_idle changes to do updates on notifications correctly. Changed updating separators in GLToolbar. 2020-12-09 11:05:21 +01:00
David Kocik
8ce3325064 Timeout in requesting renders at notification fadeout. 2020-12-09 11:05:21 +01:00
enricoturri1966
1b0829307d NotificationManager -> Separate notification update from its render to reduce the amount of scene refresh 2020-12-03 15:12:32 +01:00
enricoturri1966
50d4914a6e Removed GLCanvas3D from parameters of NotificationManager methods 2020-11-30 13:45:17 +01:00
David Kocik
824a5eabe9 Callback stored at std::function for notification hyperlink. Notification progress bar draft. 2020-11-10 09:22:47 +01:00
David Kocik
75cd39ac9f Large notification buttons and icons 2020-11-09 15:15:30 +01:00
David Kocik
34ea49cb91 New Export Finished notification showing path and opening containing folder. Fix of #4917. Fixed wrongly grayed eject button in File menu. Hopefully fix of ctrl shortcut of tooltips at sidebar. 2020-11-04 09:29:08 +01:00
David Kocik
e614e88179 prevent notifications moving left when in preview 2020-10-27 09:39:58 +01:00
David Kocik
2f6f4342ea added namespace boost::placeholders to indentify _1, hopefully fix of #4983 2020-10-27 09:16:09 +01:00
Vojtech Bubnik
5769b91671 Notifications:
Revert of substitution of boost::bind with std::bind, does not compile
on all platforms.
Further polishing and documentation.
2020-10-15 09:56:40 +02:00
Vojtech Bubnik
44c109a27c NotificationManager documentation improvements 2020-10-15 09:20:05 +02:00
Vojtech Bubnik
65a65a109f Fixed bugs introduced in refactoring of NotificationManager. 2020-10-14 17:51:51 +02:00
Vojtech Bubnik
2fc8d311cf NotificationManager: Removed space reservation for "Slope visualization"
dialog, which is gone.
2020-10-14 17:19:11 +02:00
Vojtech Bubnik
f702dafac9 Polishing of NotificationManager:
Fixed pairing of PrintObjects with slicing warning notifications.
Removed or commented out dead code.
Added documentation.
2020-10-14 16:49:06 +02:00
Vojtech Bubnik
ba008fb366 Notifications refactoring: Reusing ImGUI windows, commenting out dead code. 2020-10-14 14:18:04 +02:00
Vojtech Bubnik
8634d4ca41 WIP Review of NotificationManager: Fixed some typos, added some comments. 2020-10-14 12:57:40 +02:00
Vojtech Bubnik
a7559cc4ea Notification manager refactoring: Use unique_ptr for management
of dynamic data.
2020-10-13 16:08:19 +02:00
David Kocik
02ba48ebc8 notifications: avoid collision with gizmos on same position by moving to left 2020-10-02 10:27:31 +02:00
David Kocik
630859ef39 notifications: changed some plater warnings into errors, fixed not showing plater warnings in preview. 2020-10-01 09:30:11 +02:00
David Kocik
03feeed8c9 notification orange color for hypertext 2020-10-01 09:30:11 +02:00
David Kocik
10594089e7 notification init() at first render, not notification creation. Hopefully a fix of issue #4647. 2020-09-01 15:57:49 +02:00
David Kocik
7e22ecb0ef notifications not showing slicing finished when error 2020-09-01 15:57:48 +02:00
David Kocik
5353338641 notifications: plater warning not visible in preview 2020-09-01 15:57:48 +02:00
David Kocik
142d3ec325 notifiactions: new icons + deleting old warnings&errors 2020-09-01 15:57:48 +02:00
David Kocik
0c38f234d0 Notifications & warning dialog
notifications
dialog with warnings produced by slicing is shown before exporting
2020-08-03 15:49:25 +02:00