Commit Graph

8648 Commits

Author SHA1 Message Date
enricoturri1966
0236d980e1 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-12-17 11:41:54 +01:00
enricoturri1966
62e24c2833 GCodeViewer - Fixed visualization of time estimates for silent mode 2020-12-17 11:41:41 +01:00
Vojtech Bubnik
a8269f914f Fixed buffer overflow in the OBJ parser.
Improved error reporting on OBJ parser.
2020-12-17 09:53:21 +01:00
david kocik
64446b9057 follow up of commit c9da06e44a 2020-12-17 09:51:45 +01:00
Vojtech Bubnik
a923d5da26 Improvements of OBJ parser robustness. 2020-12-17 09:17:07 +01:00
YuSanka
a59f3eb80f Fix of #5103 and #4861 - ConfigWizard layout issues 2020-12-16 23:44:40 -08:00
YuSanka
2638dbd786 Follow-up to 3eb63c93e1:
If value for "Extrusion Multiplier" is out of range, and "NO" is selected in warning message dialog, then set previous value instead of max limit value
2020-12-16 20:14:47 +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
Lukas Matena
cb1cc0fa27 Fix through Netfabb notification - remove 'undo' hypertext for now and
refuse to fix when a gizmo is opened (because of missing updates)
This is a follow-up of 1249fdb
2020-12-16 17:33:55 +01:00
YuSanka
57c0dd2b14 Localization: Updated PrusaSlicer.pot and CZ dictionary
+ Fixed some phrases.
2020-12-16 17:29:38 +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
Vojtech Bubnik
c34347c019 Merge branch 'lm_230beta3_fixes' 2020-12-16 13:51:09 +01:00
Lukáš Hejl
f4faa81b06 Fixed of unintentional disabling of wipe even in cases when avoid crossing perimeters weren't applied due to exceeding the maximum detour length. 2020-12-16 13:17:09 +01:00
YuSanka
49736a3327 Follow-up to f37b9c4d51:
Fix for issues:
Issue 1:
1. Change "Extrusion multiplier" parameter,
2. Save edited preset.
3. Change "Extrusion multiplier" parameter -> preset wasn't marked as "modified"

Issue 2:
1. Change "Extrusion multiplier" parameter with out of range value
2. Push ENTER for the message dialog
3. Answer "Yes"
4. Same message dialog appears again
2020-12-16 13:11:07 +01:00
enricoturri1966
46c4bbc03e #5481 - Legend keeps last time estimator mode selected 2020-12-16 12:14:57 +01:00
Vojtech Bubnik
3b6889e3cc Saving "converted from inches" to 3MF and AMF even if the file source
information is empty.
2020-12-16 12:05:29 +01:00
Vojtech Bubnik
7f016653bb Reverted escaping of ampersand where the escaping was not needed
/ lead to errors.
2020-12-16 11:46:27 +01:00
YuSanka
9141495a58 Set limits to the "extrusion_multiplier" value and show warning message, if out of range value was inputted 2020-12-15 21:21:09 +01:00
Vojtech Bubnik
3240809c4c Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer 2020-12-15 15:15:46 +01:00
YuSanka
224f1ee020 Fix for text color for the mode buttons under Linux with GTK2 (related to #5444) 2020-12-15 16:03:32 +01:00
enricoturri1966
277f455c71 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-12-15 15:57:32 +01:00
enricoturri1966
42571a0c3b #5415 - Fixed preview when volumetric extrusion is turned on 2020-12-15 15:57:22 +01:00
Vojtech Bubnik
27ec080af0 When activating the PrusaSlicer main window, focus the Plater 3D view
or G-code preview if it is marked as Active.
Fixes 3Dconnexion not work directly after importing stl (focus problem ?) #5141
Keep your fingers crossed that it will not break something else.
2020-12-15 15:14:59 +01:00
YuSanka
c7042e7656 UnsavedChangesDialog: Fixed default text color in respect to the system text color (Related to #5444) 2020-12-15 14:58:34 +01:00
Vojtech Bubnik
b0ba48896c Fix of 3DConnexion 3D SpaceMouse Jumpy Pan moves on Linux #5233
Also improved error reporting on Linux about the 3DConnexion device
access issues.
2020-12-15 14:27:07 +01:00
Lukáš Hejl
097724307a Fix of #5443 - Assigned input file path for ModelVolume also for AMF archives 2020-12-15 14:18:11 +01:00
Lukáš Hejl
92f51d554c Corrected side text for avoid crossing perimeters max detour 2020-12-15 14:03:52 +01:00
YuSanka
cc91a95f30 Suppress to change "inches" flag after conversion to the inches. 2020-12-15 13:57:30 +01:00
Lukáš Hejl
dffaa78082 Fixed percentages in avoid crossing perimeters max detour 2020-12-15 13:49:35 +01:00
Vojtech Bubnik
5aa4501d23 Support for HiDPI in OpenGL on Linux / GTK3.
wxGTK3 HiDPI support seems to emulate what OSX does quite closely,
thus the changes are relatively minimal.

Also fixed an ugly rounding issue when populating the ImGUI font map
with image thumbnails.

Fixes Gtk3 issue on 4k+ screens #4135
Fixes HiDPI screens with Wayland on Fedora 30 cause Plater view to be too small. #3245
2020-12-15 12:14:38 +01:00
YuSanka
382f2b109f Fix of #5450 - Wrong printer preset after loading 3mf project file when having multiple presets for one physical printer 2020-12-15 12:11:20 +01:00
enricoturri1966
0cbafe8987 Give focus to 3D scene when activating any gizmo to allow related imgui dialogs to receive keyboard input 2020-12-15 10:57:16 +01:00
enricoturri1966
d594d87dcd Disable [Perform cut] button in Cut Gizmo dialog when the value of Z is not valid 2020-12-15 10:44:51 +01:00
YuSanka
7fe22ed0bc Fix of #5472 - UI bug: profile edit controls hidden by scroll bars 2020-12-15 09:38:18 +01:00
enricoturri1966
df01404802 #5470 - Fixed switching camera views with alphanumeric row on a czech keyboard 2020-12-15 09:21:09 +01:00
Lukáš Hejl
0effc00ed7 Apply avoid crossing perimeters also for supports. 2020-12-15 06:46:44 +01:00
Lukas Matena
747cc26614 Linux locales detection: reject unexpected formatting 2020-12-14 22:59:11 +01:00
Vojtech Bubnik
eecd7b23fe Linux locales detection: A little refactoring 2020-12-14 22:59:02 +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
Lukas Matena
c26ba256bc Do not remove custom supports/seams when converting units to imperial 2020-12-14 20:27:19 +01:00
Lukas Matena
79d091ea04 Do not emit M1 gcode for firmwares other than Marlin (after MM priming)
The M1 gcode is apparently only supported on Marlin, others do not support it or use it for something else
This should fix #5441
2020-12-14 20:27:19 +01:00
David Kocik
1b5ce83ef9 Changed condition for showing Open new instance item in dock icon menu (mac). Fix of #5463. 2020-12-14 19:26:25 +01:00
Vojtěch Bubník
8c5a3bf09c Merge pull request #5466 from wavexx/include_atomic
Include <atomic> for std::atomic where needed
2020-12-14 18:29:13 +01:00
Vojtech Bubnik
d0db51f2e8 UndoRedo extension::
has_undo_snapshot(timestamp) to query whether one can undo to a snapshot
with a specific timestamp. Useful for notifications, that want to Undo
a specific operation, to verify whether such operation is still valid.
2020-12-14 16:22:40 +01:00
Vojtech Bubnik
e0edf3f4cc Configuration layer: Support for vectors of FloatsOrPercents and
FloatsOrPercentsNullable, to support further filament overrides
of Print preset values, namely Avoid Crossing Perimeters.
2020-12-14 15:58:47 +01:00
enricoturri1966
21119dd9d7 Tweaked clamping of max toolpaths width 2020-12-14 15:11:38 +01:00
enricoturri1966
10d41b737e #5378 - Do not apply machine limits for non-Marlin firmwares 2020-12-14 14:02:50 +01:00