Commit Graph

8648 Commits

Author SHA1 Message Date
enricoturri1966
cff1cbf20f Disabled icon to add color changes, print pauses and custom gcode in vertical slider of standalone gcode viewer 2020-10-17 14:01:45 +02:00
enricoturri1966
498c329cf1 #4880 - Initialization of OpenGL data used by GCodeViewer done on the first call of GCodeViewer::render() 2020-10-17 13:04:58 +02:00
Vojtech Bubnik
b2e024a1f6 Reverted the "single_instance" condition check, David thinks
the old way is correct.
2020-10-17 12:57:02 +02:00
Vojtěch Bubník
2f5dda9841 Merge pull request #4841 from DenkBrettl/langfix
Update language to be more clear
2020-10-17 11:12:22 +02:00
Vojtech Bubnik
e3d21b1a71 Fix of the "dock" menu on OSX to start a new instance of PrusaSlicer
in case a single instance is disabled.
Make the "single_instance" enabled by default on OSX initially
to match the platform.
2020-10-17 09:23:05 +02:00
YuSanka
2c5a652e36 Add info for the removed "Print host upload" group 2020-10-16 16:30:46 +02:00
Vojtech Bubnik
4f60ce6a6a Improved matching of Print and Filament profiles after switching the Printer
profile. The matching has the following priority:

1) Compatible Print profile with the same logical name aka alias.
2) Prefered Print profile with the same layer height.
3) Compatible Print profile with the same layer height.
4) Prefered Print profile.
5) Any compatible profile.

The same logic applies to the selection of Filament profile, only
a filament_type is compared, not the layer height.
2020-10-16 16:03:31 +02:00
Lukas Matena
8ae550c3b3 Do not render bed texture when looking from below the bed in hollowing gizmo
The same as it is for FDM/SLA supports and seam gizmos.
2020-10-16 15:56:45 +02:00
Vojtech Bubnik
909696440f When switching Printer profiles, a profile with the same logical name
aka alias is searched for first before activating the default
print / filament profile as configured in the printer settings.
2020-10-16 14:45:54 +02:00
enricoturri1966
e0e10eec47 Fixed build when tech ENABLE_GCODE_VIEWER is disabled 2020-10-16 14:08:24 +02:00
YuSanka
392a5df569 UnsavedChangesDialog: Updated icons on "Discard" buttons
+ Put "exit" icon on "Quit" menu item
2020-10-16 13:21:23 +02:00
Vojtech Bubnik
55f5bf3596 Refactoring of UnsavedChangesDialog:
Use std containers instead of wxWidgets containers.
Use unique_ptr for memory management.
2020-10-16 12:20:57 +02:00
tamasmeszaros
eabc09ca36 Cover various overhang types cumulatively 2020-10-16 11:14:57 +02:00
tamasmeszaros
ef968100fd Use rotated bounding box to calculate eccentricity 2020-10-16 11:14:57 +02:00
YuSanka
40f23d4610 Show "Merge" item of the context menu for multiple selection only for objects or instances 2020-10-16 11:01:27 +02:00
David Kocik
89d5f17b28 OSX dock menu item start new instance visibility 2020-10-16 10:49:15 +02:00
enricoturri1966
4e993df1af Temporary disabled skipping of invisible paths when moving thumb on horizontal slider in preview 2020-10-16 09:42:48 +02:00
enricoturri1966
4a5168094e Changed heuristic to clamp toolpaths width 2020-10-16 09:02:37 +02:00
YuSanka
6a4e59f802 UnsavedChangesDialog
* Fixed a crash on preset changing and press Cancel button in SavePresetDialog
* Added Cancel button for MessageDialog after check "Remember my choice"

SplashScreen
* Set Version string in respect to the height of a Title string
2020-10-15 22:47:42 +02:00
David Kocik
685e54d917 fix of OSX dock menu items 2020-10-15 19:40:57 +02:00
David Kocik
17ef424330 OSX dock menu items 2020-10-15 18:53:35 +02:00
Vojtech Bubnik
e67eef4c06 Fixed some more issues in copy / paste of objects and volumes
due to the layer_height_profile, paint on supports and seam
being stored as an object on its own onto the Undo / Redo stack.
2020-10-15 17:29:49 +02:00
YuSanka
3bae4fcad2 UnsavedChangesDialog : improvements
* Added "Remember my choice" checkbox
* Center on the screen and set position in respect to the position of mainframe or settings dialog

Preferences : Added checkboxes for enable/suppress showing of the UnsavedChangeDialog

SearchImGui : close after parameter selection_is_changed_according_to_physical_printers

PhysicalPrinterDialog, SavePresetDialog : Center on the screen
2020-10-15 16:53:14 +02:00
David Kocik
24972abcd3 boost::filesystem::canonical at non windows instance check path to binary 2020-10-15 15:22:46 +02:00
Vojtech Bubnik
cd2b7afc65 Updated textation of the Filament selection config wizard page. 2020-10-15 14:16:53 +02:00
Vojtech Bubnik
2ce52b0038 Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer 2020-10-15 13:35:53 +02:00
Vojtech Bubnik
57bd0f2a60 This broke the SLA support point generator test. Why? 2020-10-15 13:35:45 +02:00
enricoturri1966
f70ae3b1ed Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-10-15 12:43:09 +02:00
enricoturri1966
d70762c80f #4719 - Fixed toolpaths generation when background process is on 2020-10-15 12:42:58 +02:00
enricoturri1966
349e894779 Fixed rendering of thumbnails 2020-10-15 12:20:38 +02:00
Vojtech Bubnik
f10ce5351f Fixed assignment of the slicing timestamp to the slicing finished
notification.
2020-10-15 12:02:55 +02:00
enricoturri1966
8ed99bb57f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-10-15 10:25:22 +02:00
enricoturri1966
a3f8f65158 Added option to apply the sequential slider in preview to top layer only or to whole gcode toolpaths 2020-10-15 10:25:13 +02: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
David Kocik
fb9d54c439 bring_forward on recieved other instance msg 2020-10-15 09:52:29 +02:00
Vojtech Bubnik
44c109a27c NotificationManager documentation improvements 2020-10-15 09:20:05 +02:00
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