Commit Graph

55 Commits

Author SHA1 Message Date
Vojtech Bubnik
85a5a2925f Fixing some compilation warnings 2021-03-15 10:36:03 +01:00
David Kocik
812bb51bbd preventing hidden notification to show when updated and close them correctly. 2021-03-14 18:01:10 +01:00
YuSanka
91e836a502 Implemented suggestion of the auto color change, if model looks like sign 2021-03-12 16:35:07 +01:00
David Kocik
31bfa025f2 Commented Print host upload notification until its tested 2021-03-12 10:32:26 +01:00
David Kocik
9a2b47f5da Print host upload notification with more info and cancel button 2021-03-12 10:32:26 +01:00
David Kocik
f6eecf861f progress bar notification - percentage text 2021-03-12 10:32:26 +01:00
David Kocik
5f4b67463f Printhost upload progress bar notification 2021-03-12 10:32:26 +01:00
David Kocik
21b8600887 notifications - minor changes in logic 2021-03-12 10:32:26 +01:00
David Kocik
e0b3035e76 cleanup 2021-03-12 10:32:26 +01:00
David Kocik
4cb203f5ec cleanup 2021-03-12 10:32:26 +01:00
David Kocik
32cb5b3d64 request frame change in notification 2021-03-12 10:32:26 +01:00
David Kocik
945499fb29 Notifications management and rendering refactoring.
With warning notification Model out of bed reworked to not show after dismiss.
2021-03-12 10:32:26 +01:00
enricoturri1966
5a19dd7041 Tech ENABLE_NEW_NOTIFICATIONS_FADE_OUT set as default 2021-02-19 12:18:09 +01:00
Vojtech Bubnik
1576a9cc87 Some more reduction of compiler warnings on MSVC 2021-02-10 18:04:16 +01:00
Lukas Matena
9abde7ef06 Added a missing include 2021-02-08 08:13:22 +01:00
YuSanka
673230d793 Localization: Fixed localization of some 3d-Scene notifications
+ Move a call of the load_language() before SplashScreen creation
2021-02-03 17:30:32 +01:00
Lukas Matena
f7e26b5655 Fixing GCC warnings 2 2021-01-29 10:46:52 +01:00
David Kocik
5cea1876ce request frame with delay when new notification pushed 2021-01-07 13:33:05 +01:00
David Kocik
02486a0fd9 update notification before erasing finished ones 2021-01-07 13:16:23 +01:00
David Kocik
4275190c11 wxWakeUpIdle when render timer ends to ensure idle function spawns and triggers rendering 2021-01-07 12:54:53 +01:00
YuSanka
d5129e80a4 localization: Fixed one phrase 2020-12-22 17:24:29 +01:00
David Kocik
302301132e Missing init() call at notification render 2020-12-19 09:22:40 +01:00
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