Commit Graph

4610 Commits

Author SHA1 Message Date
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
David Kocik
73e3e9b7f8 instance check - command line analysis - not return if only 1 argument 2020-10-14 14:46:52 +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
1fb9e1f70c wxEVT_CREATE and wxEVT_ACTIVATE is not being called on the main frame
on application start-up, at least not on Windows.
wxEVT_CREATE was called for some control deep in the Plater, however
the event was delivered to the main frame and only for slicer, not
for G-code viewer. Thus the callbacks for 3D Mouse were not registered
for and the 3D mouse did not work on Windows.

Fixed by calling the callback registration from the first execution
of the Idle function.
2020-10-14 12:55:07 +02:00
David Kocik
5594499927 Merge branch 'dk_instances' into master 2020-10-14 09:40:54 +02:00
David Kocik
106acca1be bug fix std::optional on mac 2020-10-14 09:26:06 +02:00
David Kocik
9c5b919c6e instance check - not calling bring_forward imidietly after recieving msg on OSX 2020-10-14 08:52:18 +02:00
David Kocik
cc7b1b773a switching from slicer to gcode viewer - unlocking lock file 2020-10-14 08:48:38 +02:00
Vojtech Bubnik
a7559cc4ea Notification manager refactoring: Use unique_ptr for management
of dynamic data.
2020-10-13 16:08:19 +02:00
enricoturri1966
0ec27caf0f Small fix to a374cb1e62 2020-10-13 16:04:57 +02:00
enricoturri1966
903e369779 Disabled unneeded event handling in standalone gcode viewer 2020-10-13 16:00:18 +02:00
Vojtech Bubnik
3522246a3f Notification manager: Moved private definitions to private section. 2020-10-13 15:32:41 +02:00
Lukas Matena
d401763e3e Fix build on macOS
std::optional<T>::value() not yet available
2020-10-13 13:51:47 +02:00
Enrico Turri
b935bba2e7 Deadzone for 3DConnexion devices set to zero 2020-10-13 13:06:28 +02:00
enricoturri1966
dd1976cac0 #4864 - Fixed collapse sidebar using Shift+Tab 2020-10-13 11:31:12 +02:00
Vojtech Bubnik
6e04ab02e7 Updated the command line single-instance processing and help text.
Updated escaping of the command line arguments when passed to the other
instance.
2020-10-12 17:06:03 +02:00
Lukas Matena
b0cbd4bc74 Fixed clipping plane in painter gizmos:
Obsolete variable m_clipping_plane was used instead of getting the clipping plane from
the common gizmo data pool. This means the clipped parts of objects captured hits and
could not be painted through.
The clipped_mesh_was_hit variable is obsolete now. It was a mistake to introduce it in the first place.
2020-10-12 16:26:17 +02:00
David Kocik
fe618b04e3 starting prusaslicer from gcode viewer and vice versa, by menus or by stl drop on icon. Bring gcode viewer forward after start. 2020-10-12 15:26:19 +02:00
Lukas Matena
ba1ed35959 Painter gizmos: only render the circle cursor when the pointer is on the mesh
It does not paint otherwise, let the user know by not drawing it.
2020-10-12 14:46:48 +02:00
enricoturri1966
1318c67b39 Tech ENABLE_GCODE_DRAG_AND_DROP_GCODE_FILES set as default 2020-10-12 13:09:04 +02:00
enricoturri1966
9c48a5de5d Tech ENABLE_GCODE_APP_CONFIG as default 2020-10-12 12:38:34 +02:00
enricoturri1966
0d234020e8 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-10-12 11:47:25 +02:00
enricoturri1966
8c3403ddc6 Fixed build when tech ENABLE_GCODE_VIEWER is disabled 2020-10-12 11:47:11 +02:00
Vojtech Bubnik
053e6bf300 Changed wording of "Revert from imperial units" 2020-10-12 11:37:43 +02:00
enricoturri1966
5d668e1063 Extract icon from executable files on Windows 2020-10-12 10:44:50 +02:00
Lukas Matena
08f1efb3f5 Fix of tooltip updating when sidebar is being hidden/shown
The tooltip would only update when the toolbar was clicked, not when respective menu item or keyboard shortcut were used
2020-10-12 09:16:08 +02:00
Yuri D'Elia
e494d89524 Document Shift+Tab in menus and shortcuts dialog 2020-10-12 09:16:08 +02:00
Yuri D'Elia
1653ba5504 Fix the collapse tooltip (uniform to "sidebar", show hotkey)
Sidebar is used everywhere else, so change "right panel" to "sidebar" in
collapse button.

Also show the hotkey, as done for "Tab"
2020-10-12 09:16:08 +02:00
Yuri D'Elia
5691813510 Handle Shift+Tab also in the preview 2020-10-12 09:16:08 +02:00
Yuri D'Elia
026dccf75f Handle Shift+Tab to collapse/expand the sidebar 2020-10-12 09:16:08 +02:00
Yuri D'Elia
e01576a4e3 Document "Tab" in the keyboard shortcuts dialog 2020-10-12 09:16:08 +02:00
Lukas Matena
3d93ea64f5 Fixed an undo/redo problem with SLA gizmo
When the undo/redo stack opened the SLA gizmo, it would erroneously obliterate all future snapshots
2020-10-12 09:06:47 +02:00
enricoturri1966
dbd2a61b73 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-10-12 08:39:51 +02:00
enricoturri1966
69be5bfb7a Added menu command Configuration/Language to standalone gcode viewer 2020-10-12 08:39:40 +02:00
Lukas Matena
1c93cfea7d Combo in painter gizmos replaced with radios (for cursor type selection) 2020-10-10 14:02:14 +02:00
lukasmatena
c12f0db22c Merge pull request #4747 from wavexx/monospaced_gcode
Use monospaced fonts in gcode sections
2020-10-10 14:01:48 +02:00
Vojtech Bubnik
575da4840f Removed m_ prefix from public member variables. 2020-10-09 13:09:21 +02:00
enricoturri1966
7cf7b0d88d Added code to allow to customize skipping invisible moves when moving horizontal slider thumb in preview 2020-10-09 13:00:20 +02:00
enricoturri1966
07f5ed4bb5 Transparent tool marker in preview 2020-10-09 12:21:00 +02:00
enricoturri1966
1485a211ba Horizontal slider in preview applied only to top layer 2020-10-09 08:45:48 +02:00
enricoturri1966
a220a34b51 Allow to disable editing of lower thumb in DoubleSlider::Control 2020-10-08 14:40:12 +02:00
enricoturri1966
0fc80e01f3 Fix in upgrade_text_entry_dialog() 2020-10-08 14:12:25 +02:00
enricoturri1966
ceb83c119e Follow-up of 3fdc48452e -> Modified logic to disable horizontal slider in preview 2020-10-08 14:09:39 +02:00
enricoturri1966
a13899aa1c Modified rendering of DoubleSlider::Control when disabled 2020-10-08 12:50:29 +02:00
enricoturri1966
4193a54bd8 Follow-up of 2ecd78b0d5 -> More robust fix 2020-10-08 12:47:38 +02:00
enricoturri1966
341bbcd1e9 Small refactoring in GCodeViewer 2020-10-08 11:21:27 +02:00
YuSanka
7ba50136f1 UnsavedChangesDialog : added correct icons for the categories
+ fixed a crash when try to save changes for the SLA printer preset
2020-10-08 09:25:14 +02:00