Commit Graph

8562 Commits

Author SHA1 Message Date
Vojtech Bubnik
377294d67f A little bit cheaper triangle random sampling + documentation. 2020-10-15 07:58:13 +02:00
Vojtech Bubnik
bbc7dffe5e Fix of Cmd line output does not always show correct output file name #4872 2020-10-15 07:54:01 +02:00
Vojtech Bubnik
c891ab0fc7 Fix of Compile error in InstanceCheck.cpp on Linux (#4877) 2020-10-15 07:45:36 +02:00
Yuri D'Elia
0daa24a6bd Use Ctrl+Shift+I to open a new instance instead of Ctrl+I
"Open new instance" overrider the "import" shortcut.

Use Ctrl+Shift+I for new instance, which is definitely less important
than importing new models.

Also document the shortcut in the Keyboard shortcuts dialog.

Fixes #4711
2020-10-14 20:51:21 +02:00
David Kocik
d707a5086e order of checking lockfile in instance check 2020-10-14 18:17:42 +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
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
Lukas Matena
68c2321d52 Added a missing include 2020-10-12 17:52:48 +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
Megidd
5706c1f137 Replace deprecated Boost header in "admesh" 2020-10-12 11:34:31 +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
Lukáš Hejl
5b3d1139e2 Fix another compiler warnings 2020-10-12 00:17:17 +02:00
Lukáš Hejl
9f83aa4dac Fix compiler warning and fix a bug in connecting infill using hooks 2020-10-11 23:31:59 +02:00
Lukáš Hejl
d9ba05fc51 Small rework of connecting infill with perimeters using hooks
Hooks are preferably generated in the direction of printed perimeters.
Small refactoring of the algorithm. Some parts of the algorithm are better documented.
2020-10-11 15:45:50 +02:00
Lukáš Hejl
a84ce15326 Refactoring of the adaptive infill using hooks 2020-10-11 03:46:11 +02:00
Lukáš Hejl
d1355d0f8d Orient hooks in the direction of the adjacent extrusion line 2020-10-10 22:38:22 +02:00
Lukáš Hejl
caecc9283e Rework of hooks adding 2020-10-10 22:25:51 +02:00