YuSanka
c9da06e44a
Fix for text color for the mode buttons under Linux with GTK2 (related to #5444 )
2020-12-15 16:03:32 +01:00
Vojtech Bubnik
20f5b7a7cd
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
8d4d6b6c89
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
aa8f97fce2
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
YuSanka
62c23313be
Suppress to change "inches" flag after conversion to the inches.
2020-12-15 13:57:30 +01:00
Vojtech Bubnik
a13b35ce92
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
enricoturri1966
82fe571cdc
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
3f44f8177d
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
8627c35057
Fix of #5472 - UI bug: profile edit controls hidden by scroll bars
2020-12-15 09:38:18 +01:00
enricoturri1966
4911b36bfd
#5470 - Fixed switching camera views with alphanumeric row on a czech keyboard
2020-12-15 09:21:09 +01:00
Lukas Matena
acb7d66577
Linux locales detection: reject unexpected formatting
2020-12-14 22:59:11 +01:00
Vojtech Bubnik
b9bdfd26e3
Linux locales detection: A little refactoring
2020-12-14 22:59:02 +01:00
Lukas Matena
1249fdb71d
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
159dde511e
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
cbb306c86a
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
d70d54d4d3
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
fef729b75a
Follow-up to c34b683970
...
Fix of Slic3r::GUI::format/format_wxstr() for wxString&&
2020-12-14 12:23:29 +01:00
Vojtech Bubnik
c34b683970
Fix of Slic3r::GUI::format/format_wxstr() for non-const wxString references.
...
Vojtech seemingly does not understand perfect forwarding:
Why Slic3r::internal::format::cook(T&& arg) is taken for non-const wxString reference?
2020-12-14 12:06:39 +01:00
Vojtech Bubnik
57ba953b2e
PresetUpdater - exceptions reformatted, not throwing an exception
...
on Linux when changing file attributes, as changing file attributes
may fail when writing onto FAT file system, which does not support
some of the common Unix file attributes.
2020-12-14 11:05:12 +01:00
YuSanka
0f11ff8525
Follow-up on fbf2978190: Refresh Cut gizmo immediately,
...
when state of "inches" checkbox is changed.
+ Fixed update of Z value, when Cut gizmo is in mm
2020-12-14 09:06:19 +01:00
David Kocik
2b3d9359d4
Typo in preferences string about single instace
2020-12-13 21:21:18 +01:00
Yuri D'Elia
44f71f0ed1
Include <atomic> for std::atomic where needed
...
Fixes build on linux using clang 11
2020-12-13 19:41:47 +01:00
Vojtech Bubnik
9fdf8c8b8d
Fixed retrieving of the "saved in inches" flag from 3MF.
...
Fixed "import STL from Inches" - it should always scale up even if the
object is bigger than 3x3x3mm.
2020-12-12 18:54:34 +01:00
Vojtech Bubnik
d3bf130e66
Merge remote-tracking branch 'remotes/origin/lm_linux_locales'
2020-12-12 12:39:17 +01:00
Vojtech Bubnik
ccad84fb42
Follow-up on 3523bb421f
...
(Ongoing uploads while exiting dialog):
Fixed some string conversion issues.
2020-12-12 11:26:17 +01:00
Lukas Matena
0e6f9cdd0b
Linux: when available locales do not match the desired language completely,
...
list the installed locales and try to find an alternative
This should fix issues such as #3368 and #2580
2020-12-12 09:21:51 +01:00
Vojtech Bubnik
0884f4fbf5
Slight rewording of the keyboard shortcuts dialog.
2020-12-12 09:11:10 +01:00
Vojtech Bubnik
621610da75
Follow up on 569200eb99
...
Improved formatting of the vector of dimensions, improved wordings
of error messages and tooltips.
2020-12-12 08:34:43 +01:00
YuSanka
8bfb2a4eef
Fix of #5315 - Height Slider heights are too squished
...
+ some code refactoring
2020-12-11 15:58:10 +01:00
David Kocik
25531d7c00
rename single instance setting in preferences
2020-12-11 15:34:09 +01:00
enricoturri1966
5a7e4ff47c
Faster toolpaths refresh when changing options selection in preview
2020-12-11 14:59:58 +01:00
YuSanka
aaaa85c1f8
Fix of #5007 - "Reload from disk" causes objects converted to inches to revert to mm
2020-12-11 13:57:58 +01:00
enricoturri1966
9dd83a3daa
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-12-11 12:36:44 +01:00
Vojtech Bubnik
2c8a92cacb
Some shader compilers did not seemingly like #if XXX blocks
...
if XXX was not defined. Changed to #ifdef XXX.
2020-12-11 12:27:07 +01:00
enricoturri1966
acf5e9a21f
Enhancements in GCodeViewer Statistics imgui dialog
2020-12-11 11:58:08 +01:00
enricoturri1966
17c9358b0b
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_splitted_vbuffer
2020-12-11 11:52:43 +01:00
David Kocik
43c424e82b
export finished to hdd notification got fadeout after 20 sec
2020-12-11 08:40:40 +01:00
David Kocik
03028bb23e
Improved exception throwing at copy file in preset updater
2020-12-10 19:39:47 +01:00
enricoturri1966
740ffc03b4
Removed unused variables in DoubleSlider::Control
2020-12-10 15:22:18 +01:00
enricoturri1966
f6b9cdecc3
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_splitted_vbuffer
2020-12-10 15:10:59 +01:00
Vojtech Bubnik
cc7dbf8925
Fix of compilation on OSX
2020-12-10 14:45:23 +01:00
enricoturri1966
62dedba32d
Reduced max size of index buffers to 32M indices
2020-12-10 14:36:38 +01:00
enricoturri1966
d631bf7c0c
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_splitted_vbuffer
2020-12-10 14:36:17 +01:00
enricoturri1966
8dd98f6d66
Fixed size of GCodeViewer Statistics imgui dialog
2020-12-10 13:21:18 +01:00
Vojtech Bubnik
8d644fbcb6
1) Shader manager: Allow to override #defines programatically
...
when loading a shader file.
2) Conditional compilation of environmental mapping in gouraud.fs
using 1)
2020-12-10 13:20:25 +01:00
David Kocik
8522c06812
cleanup
2020-12-10 11:02:46 +01:00
David Kocik
3523bb421f
Ongoing uploads while exiting dialog
...
Ongoing uploads while exiting dialog
Ongoing uploads while exiting dialog
2020-12-10 11:02:46 +01:00
Vojtech Bubnik
48a21cae93
BitmapCache: a bit of clean-up
2020-12-10 08:54:21 +01:00
Vojtech Bubnik
bd79036d13
Replaced all "long long" types with int64_t
...
Replaced all "unsigned long long" types with uint64_t.
These "new" types better communicate their meaning and they are
guaranteed to behave the same on all platforms & compilers.
2020-12-10 08:40:15 +01:00
YuSanka
fbf2978190
Fix of #5008 - Cut tool uses mm when object is converted to inches
...
+ Localization: Updated MO for PT_BR
2020-12-10 08:31:24 +01:00