Commit Graph

9052 Commits

Author SHA1 Message Date
YuSanka
24134d92a2 Localization fixes + new POT 2021-11-12 09:21:41 +01:00
enricoturri1966
17d853d144 Commented out unused line 2021-11-12 08:45:16 +01:00
enricoturri1966
4d0a74bae0 Added missing include 2021-11-12 08:07:07 +01:00
enricoturri1966
b35bbc7add Tech ENABLE_ENHANCED_IMGUI_SLIDER_FLOAT - Fixed imgui slider label 2021-11-12 07:56:47 +01:00
Lukas Matena
bcef57485a Make sure the object does not float after simplification 2021-11-12 07:37:17 +01:00
Filip Sykala
d489ec43f8 Remove static flag and extend case when call after will be from unactive Gizmo. 2021-11-12 06:49:09 +01:00
Filip Sykala
4686a7e051 translation of progress 2021-11-12 06:49:09 +01:00
Lukas Matena
4af1f4a4bf Some more fixes when switching objects while simplifying 2021-11-12 06:49:09 +01:00
Lukas Matena
660672a6ee Several more fixes:
- fixed crash on close when worker is running
- refresh percentage in the UI by requesting extra frames
- get rid of extra m_is_worker_running variable
2021-11-12 06:49:09 +01:00
Lukas Matena
343d981a81 Some more cleanup 2021-11-12 06:49:09 +01:00
Lukas Matena
aef14c5ce2 Many small fixes 2021-11-12 06:49:09 +01:00
Lukas Matena
36bba50742 Simplify does not touch ModelVolume all the time (runs, but needs polishing) 2021-11-12 06:49:09 +01:00
Lukas Matena
c04d545e24 More adjustments, still working with Model directly 2021-11-12 06:49:09 +01:00
Lukas Matena
8e18b5df49 Shared data packed in a struct 2021-11-12 06:49:09 +01:00
Lukas Matena
3a3979dc39 Simplify gizmo now renders the volume by itself,
it does not rely on the usual GLVolume rendering. GLCanvas3D::toggle_model_object_visibility
was extended to hide a single volume. Rendering the model and wireframe uses the same
vertex buffer, which is now used through GLModel class. GLGizmoRenderTransparent class
should no longer be needed. GLCanvas3D::reload_scene calls replaced with request_rerender.
2021-11-12 06:49:09 +01:00
Lukas Matena
529643dc5b Minor improvements:
- const corectness
- volatile -> std::atomic
- GUI::format
- encoding issues
2021-11-12 06:49:09 +01:00
David Kocik
e201d318f8 SLA only mode in wizard
Activates only if PrusaSlicer.ini does NOT contains any FFF printers.
Added only_default_printers() function to activate wizard if none printers are installed.
2021-11-11 17:08:54 +01:00
tamasmeszaros
d4242c3a32 Fix hanging status indication if a UI job gets started over another.. 2021-11-11 17:07:35 +01:00
Filip Sykala
1446f5174d Merge branch 'master' into fs_removes_SimplifyMesh 2021-11-11 16:05:43 +01:00
enricoturri1966
9bac4c5c20 Close Shape Gallery dialog by pressing ESC on keyboard 2021-11-11 13:03:40 +01:00
YuSanka
27d5a8dc5a Fixed typo in a0e6c7a076 2021-11-11 12:50:25 +01:00
Vojtech Bubnik
a2e764d7ac Revert "medical"
This reverts commit 117302ba22.
2021-11-11 11:22:57 +01:00
tamasmeszaros
515c34be6f Slight performance boost
follow up to f7db7c0
2021-11-11 11:12:03 +01:00
YuSanka
bbc4f46d63 Follow up a3f6ce1ac6 2021-11-11 10:31:12 +01:00
Vojtech Bubnik
3ead6a7d3e medical 2021-11-11 10:11:13 +01:00
tamasmeszaros
e2ec77946f Fix its_number_of_patches returning bool instead of size_t 2021-11-11 10:02:58 +01:00
YuSanka
3bf9451705 Fixed endless "New project" possibility 2021-11-11 08:46:39 +01:00
Lukáš Hejl
6d1cd25fbd Added a missing include (GCC 11.1). 2021-11-10 23:21:36 +01:00
tamasmeszaros
d652ab0bc4 Merge branch 'tm_rotgizmo_beautify' 2021-11-10 16:40:19 +01:00
tamasmeszaros
090e99798b Round up rotation optimizer gizmo. 2021-11-10 16:35:47 +01:00
David Kocik
607c4d341c Menu text 2021-11-10 16:34:54 +01:00
David Kocik
f4883fb4a3 Change in checking model name in physical printer dialog 2021-11-10 15:56:50 +01:00
enricoturri1966
9fcbaa0b25 Imgui now recognizes numpad enter key presses 2021-11-10 15:42:25 +01:00
David Kocik
63a5fdc613 Changes in notifying about new releases.
- Unified preferences settings. version_check option is replaced with notify_release that has 3 states.
- fixed logic when show notification based on version string.
- notification shows released version
- dialog notifying new version is never showing if external updater is running.
Escape quotes inside path to external updater
2021-11-10 15:27:46 +01:00
Lukas Matena
5cfdc2c436 External updater is only run in GUI mode 2021-11-10 15:27:46 +01:00
Lukas Matena
466564e838 Use correct encoding when calling external updater 2021-11-10 15:27:46 +01:00
David Kocik
32f042f741 Start updater during start of prusaslicer. 2021-11-10 15:27:46 +01:00
enricoturri1966
53b37e245f #7282 - Fixed crash after splitting object into parts (missing or degenerate convex hulls) 2021-11-10 12:07:43 +01:00
Lukas Matena
269165631e Improvement of previous commit:
- use boost::nowide instead of WinAPI for the encoding conversion
- only add the node when it is not empty
2021-11-10 11:39:34 +01:00
YuSanka
82864f92e0 Follow up e8be7b2ecd - Remove unused code 2021-11-10 11:31:14 +01:00
Lukas Matena
9157b57476 Windows: Include blacklisted libraries in SendSystemInfo data 2021-11-10 11:09:37 +01:00
YuSanka
9d650e1ab3 MsgDialog: Some code refactoring.
Use style for whole Dialog instead of wxWindowID for just one default button
2021-11-10 10:49:43 +01:00
YuSanka
e1104626de Implemented possibility to show resin colors from the Plater (Bottles with resin are colored now in preset combobox)
+ Added nsvgParseFromFileWithReplace() to replace some colors before parsing from SVG file
+ Thumbnails are saved with selected resin color in SL1 or SL1S files
+ "white" folder is deleted from "icons" now. THere is no needed anymore.
2021-11-09 17:01:50 +01:00
enricoturri1966
279150dc7f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_imgui_slider 2021-11-09 15:09:32 +01:00
YuSanka
69136fd54e MsgDialog: Delete redundant code (fix for https://github.com/prusa3d/PrusaSlicer/issues/7254) 2021-11-09 12:52:59 +01:00
enricoturri1966
c609748d88 #7246 - Fixed rrror when resize object to bed limit 2021-11-09 12:29:22 +01:00
enricoturri1966
49bd0e4e6f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_imgui_slider 2021-11-08 13:44:13 +01:00
enricoturri1966
8e76324ad9 Tech ENABLE_ENHANCED_IMGUI_SLIDER_FLOAT - Changed background color of additional button and its icon 2021-11-08 13:43:53 +01:00
enricoturri1966
4c0067e97f #7258 - Fixed cut of merged object 2021-11-08 12:56:38 +01:00
Lukáš Hejl
145b095ce4 OSX specific: Fix of #7259 - (Darker colors of objects inside the multi-material gizmo on macOS Monterey on Arm64 CPU)
Since macOS 12 (Monterey), the issue with the opposite direction on macOS running on Arm64 CPU seems to be fixed, and computed triangle normals inside fragment shader using dFdx and dFdy have the right direction.
So the previous patch bad51cdb52 is constrained to just macOS versions before macOS 12 (Monterey).
2021-11-08 11:27:24 +01:00