Commit Graph

1215 Commits

Author SHA1 Message Date
1939295492 #5690 - Fixed thumbnail generation when a gizmo is active 2021-01-05 11:58:48 +01:00
87de71a089 Follow-up to 19b52da260: Fixed scale for view toolbar on HDPI (GTK3 specific) 2020-12-18 11:27:28 +01:00
b957d418f0 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-12-18 09:03:45 +01:00
1420895395 Fixed color of shells in preview 2020-12-18 09:03:18 +01:00
2a0bc822c0 Fix of #5501 - 3D Editor / Layer View widget DPI regression (Linux GTK3 specific) 2020-12-18 08:40:17 +01:00
57c0dd2b14 Localization: Updated PrusaSlicer.pot and CZ dictionary
+ Fixed some phrases.
2020-12-16 17:29:38 +01:00
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
9ca531bb30 render timer 2020-12-16 14:15:12 +01:00
e8fe841b79 render timer draft 2020-12-16 14:15:12 +01:00
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
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
df01404802 #5470 - Fixed switching camera views with alphanumeric row on a czech keyboard 2020-12-15 09:21:09 +01:00
b9ae4fcbcf Faster toolpaths refresh when changing options selection in preview 2020-12-11 14:59:58 +01:00
8199e4051e 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
682380d170 GLCanvas on_idle changes to do updates on notifications correctly. Changed updating separators in GLToolbar. 2020-12-09 11:05:21 +01:00
7df642f6c8 OSX specific: Fixed shortcut "Cmd+M" 2020-12-08 12:27:39 +01:00
f006d7f6fc Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-12-08 11:43:14 +01:00
d286e1eaf7 ENABLE_RENDER_STATISTICS -> FPS averaged to last second 2020-12-08 11:43:00 +01:00
58382b2aea Fix for bad wipe tower handling in arrangement
fixes #5320
2020-12-07 18:00:10 +01:00
4e262b0017 fix of incorrect keyboard prefix shown on OSX for Arrange edit field
Arrange Options dialogue improvement request #5217
2020-12-07 10:02:31 +01:00
39844241ec Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-12-04 15:36:41 +01:00
856eadb73f Enabled tech ENABLE_RENDER_STATISTICS 2020-12-04 15:36:30 +01:00
c16221dc8c Localization: Fixed some phrases. Updated POT and NL dictionary. 2020-12-04 13:08:48 +01:00
fb0b3bd982 Fixed conflicts after merge with master 2020-12-03 15:27:34 +01:00
1b0829307d NotificationManager -> Separate notification update from its render to reduce the amount of scene refresh 2020-12-03 15:12:32 +01:00
f02e2759e3 Merge branch 'tm_arrange_bugfixes' 2020-12-03 14:09:55 +01:00
6f31fcc1fb #5360 - GCode Viewer -> Added menu command to reload gcode file 2020-12-03 13:48:54 +01:00
f9d5b20c85 Fix out of bed items after arrange.
Disabled outline decimation for arrange and added very small (EPSILON) safety offset to bed detection boundaries.
2020-12-03 12:00:12 +01:00
1fe708f9ce Further improvement on arrange settings handling 2020-12-02 14:04:39 +01:00
0676a67249 Add separate arrangement distance control for SLA mode 2020-12-02 10:28:13 +01:00
7cbf4a3209 Fix arrange distance with enabled sequential printing
fixes #5258
2020-12-01 14:08:07 +01:00
feaf08f6ac Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_animations 2020-12-01 10:43:32 +01:00
bfb6a9cdf7 Fixed activation of shortcut dialog with '?' key 2020-12-01 10:43:04 +01:00
e4be7e522f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_animations 2020-12-01 08:45:50 +01:00
10594300fe Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-12-01 08:33:20 +01:00
3ccd122727 #5333 - Reworked navigation of preview's sliders using the keyboard 2020-12-01 08:33:06 +01:00
fa0fd85065 Fix Arrange dialog distance input field usability 2020-11-30 15:57:53 +01:00
50d4914a6e Removed GLCanvas3D from parameters of NotificationManager methods 2020-11-30 13:45:17 +01:00
282e453ce7 Enabled tech ENABLE_CTRL_M_ON_WINDOWS -> Added customizable support for legacy CTRL+M settings dialog on Windows in preference dialog 2020-11-26 11:00:24 +01:00
a089c75766 Add "slow" hint to rotations for arrangement 2020-11-24 15:36:39 +01:00
4fcc8c7a1c #5234 - Disabled pop-up menu on the wipe tower 2020-11-23 13:45:12 +01:00
dcc2f75e05 Some minor refactoring / polishing. 2020-11-21 13:16:03 +01:00
f3cd6b8424 Fixes for arrange menu
Fixed issues:
- Imgui window is aligned with the arrange toolbar button
- Reset and Arrange buttons added onto the window
- Window closes after clicking the canvas or hitting ESC
- Tooltip extended with instructions for using the arrange menu

Remaining issues:
- Imgui arrange button closes the menu after clicked
- Menu is not in "exclusive or" relationship with other imgui windows.
2020-11-20 17:52:53 +01:00
371921ca1c Save and load arrange settings to app_config 2020-11-20 09:57:52 +01:00
1c22667f21 Right mouse reaction to arrange button
Working arrange settings popup
2020-11-20 09:57:52 +01:00
b866618272 ENABLE_GCODE_VIEWER set as default in:
GLCanvas3D hpp/cpp

GUI_Preview hpp/cpp
2020-11-19 12:29:19 +01:00
db441046d6 Fixed Shift+A to arrange selection 2020-11-18 15:14:49 +01:00
a5ab490dd9 Code cleanup 2020-11-13 11:50:52 +01:00
087a4f10e0 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential 2020-11-13 10:46:41 +01:00
21aedc156e Removed the legacy PreviewData.cpp,hpp 2020-11-11 16:38:51 +01:00