Commit graph

9664 commits

Author SHA1 Message Date
SoftFever
df48b05f73
Merge branch 'main' into dev/gizmo 2023-11-19 15:47:47 +08:00
niklasb
8ca0d79b05
Adds overview for custom gcodes like pause, change filament, custom #2191 (#2728)
* Adds overview for custom gcodes like pause, change filament, custom

* Fix: incorrect time display of inserted pauses
2023-11-19 00:04:30 +08:00
Noisyfox
a590d4cead Fix toolbar rendering on Windows 2023-11-18 17:24:08 +08:00
Noisyfox
67fe5ee7f5 Bring back anti-aliasing to toolbar icons (#2739) 2023-11-18 14:51:22 +08:00
enricoturri1966
8c0cf34a6c Fixed generation of texture mipmap using glGenerateMipMap (added also for png)
Fix mipmap of compressed textures on AMD Radeon graphics cards by forcing the use of squared power of two textures

(cherry picked from commit prusa3d/PrusaSlicer@971f2a08e2)
(cherry picked from commit prusa3d/PrusaSlicer@eee4453993)
2023-11-18 10:21:41 +08:00
Lukas Matena
67c1f40eae Fixed a crash when deleting the last object with autocenter enabled (prusa3d/PrusaSlicer#11186).
(cherry picked from commit prusa3d/PrusaSlicer@926af1ab8d)
2023-11-17 09:32:45 +08:00
Noisyfox
f6e4c48fe7
Merge branch 'main' into dev/gizmo 2023-11-17 09:18:31 +08:00
Noisyfox
2fc5a7d01e
Fix layer height modifier layout (#2708) (#2756) 2023-11-16 19:15:37 +08:00
SoftFever
565732a027 remove print_flow_ratio from profiles and hide it from process setting. It should be only displayed for parts 2023-11-16 19:07:40 +08:00
Noisyfox
5669b4fef0
Merge branch 'main' into dev/gizmo 2023-11-11 16:28:17 +08:00
Noisyfox
4e5e5a7ae8
Fix min brush size when using scroll wheel (#2534) (#2693) 2023-11-11 15:15:57 +08:00
YuSanka
799b0965f5 Fix for prusa3d/PrusaSlicer#11487 - Cut Connectors Broken when assigning part to other side
+ Added check objects after cut
+ CutUtils: Ensuring that volumes start with solid parts after solid parts merging for proper slicing

(cherry picked from commit prusa3d/PrusaSlicer@a9410edc2c)
2023-11-11 12:51:29 +08:00
Noisyfox
ee8ea0df04 Rewrite bed raycaster registering that fixes crash when creating new project 2023-11-10 23:02:11 +08:00
Noisyfox
7984b4dc48 Fix complie error after merge 2023-11-10 10:54:02 +08:00
Noisyfox
cf5c19fa24 Merge remote-tracking branch 'origin/main' into dev/gizmo 2023-11-10 09:57:11 +08:00
Ocraftyone
120a3576a0
SS port - Change extrusion role gcode (#2459)
implement custom gcode for when the extrusion role is changed

Co-authored-by: supermerill <merill@free.fr>
2023-11-09 22:30:30 +08:00
Noisyfox
97502df924
Fix cli segfault (#2661) (#2665) 2023-11-09 22:22:43 +08:00
Noisyfox
cd8f555714
Fix some gui issues (#2653)
* Fix text gizmo input dialog caption alignment

* Fix issue that layer slider top/bottom label left edge been cut by draw region (#2603)
2023-11-09 22:19:40 +08:00
SoftFever
22abe8cc9d Automatically recover from corrupted config file 2023-11-09 22:09:41 +08:00
Noisyfox
5f001c89fd Merge remote-tracking branch 'origin/main' into dev/gizmo 2023-11-08 09:14:28 +08:00
Noisyfox
483475ff48 Fix canvas background in dark mode 2023-11-08 09:14:16 +08:00
SoftFever
42f8efc0d8 Fixed a regression that checking new version didn't work
Fixed #2622
2023-11-07 21:32:36 +08:00
SoftFever
e001b66192 Fixed a regression that bed type was not remembered and switched when switching bed types 2023-11-07 18:36:20 +08:00
Noisyfox
c0a8f430f8
Add back the option to disable ensure vertical shell thickness and detect narrow internal solid infill (#2626)
* Add back the option to disable `ensure vertical shell thickness` (#2602)

* Add back the option to disable `detect narrow internal solid infill` (#2623)
2023-11-06 23:21:07 +08:00
Noisyfox
e57f68a266 Fix painter gizmos crash on macOS 2023-11-06 20:42:02 +08:00
Noisyfox
28e2995a01 Cut: Fix crashing in programming cut. Also fixes the cut z offset. 2023-11-05 16:03:10 +08:00
Noisyfox
018b2744db Text: Fix text moving grabber 2023-11-04 11:41:11 +08:00
Noisyfox
090a9247cb Cut: Fix model rendering 2023-11-04 11:41:11 +08:00
Noisyfox
3ec927a841 Cut: Use Orca color schema and dialog layout 2023-11-04 11:41:11 +08:00
enricoturri1966
18406c31c0 Cut: Initial porting of Cut Gizmo 2023-11-04 11:41:11 +08:00
Noisyfox
ce2836a7f9 Measure: Fix copy to clipboard encoding 2023-11-04 11:41:11 +08:00
Noisyfox
1bfd9f63b6 Measure: Update measure dialog layout 2023-11-04 11:41:11 +08:00
Noisyfox
4843cda535 Measure: Use Orca color schema 2023-11-04 11:41:11 +08:00
Noisyfox
2c00408d08 Measure: Update measure gizmo tooltip 2023-11-04 11:41:11 +08:00
Noisyfox
c31e1f5229 Measure: Fix measure window position 2023-11-04 11:41:10 +08:00
enricoturri1966
f72d42f920 Measure: Initial porting of Measure Gizmo 2023-11-04 11:41:10 +08:00
enricoturri1966
1561d65712 Sync most of the gizmos with latest PrusaSlicer 2023-11-04 11:41:10 +08:00
enricoturri1966
049dfd3e08 Added method const GLVolume* Selection::get_first_volume() const to simplify client code
(cherry picked from commit prusa3d/PrusaSlicer@0e3490620e)
2023-11-04 11:41:10 +08:00
Filip Sykala
9dbb2dfe0d Various gizmos refactoring 2023-11-04 11:41:10 +08:00
Filip Sykala
30af274d44 Separate GizmoManager on_move into gizmo itself
(cherry picked from commit prusa3d/PrusaSlicer@c751d6327d)
2023-11-04 11:41:10 +08:00
Noisyfox
005b83912d Do not compile sla related gizmos 2023-11-04 11:41:10 +08:00
Filip Sykala
8e2ab660c5 Add virtual function to process mouse_event
(cherry picked from commit prusa3d/PrusaSlicer@2ab44546bd)
2023-11-04 11:41:10 +08:00
Filip Sykala
158bb47af3 Suggestion to detect volume modification instead of check some gizmos during dragging
(cherry picked from commit prusa3d/PrusaSlicer@96610ecea9)
2023-11-04 11:41:10 +08:00
Filip Sykala
da4a70785d remove unnecessary getting of raw pointer from unique pointer
(cherry picked from commit prusa3d/PrusaSlicer@209eda75a0)
2023-11-04 11:41:10 +08:00
enricoturri1966
094acdb645 Tech ENABLE_RAYCAST_PICKING - Gizmo flatten: fixed update of raycasters transformations
(cherry picked from commit prusa3d/PrusaSlicer@2a2d442b28)
2023-11-04 11:41:10 +08:00
enricoturri1966
e4ec0cfc2e Tech ENABLE_RAYCAST_PICKING - Method GLCanvas3D::_mouse_to_3d() modified to use the new scene raycaster instead of reading data from the depth buffer
(cherry picked from commit prusa3d/PrusaSlicer@a7af73795d)
2023-11-04 11:41:09 +08:00
enricoturri1966
d2d77456ac Tech ENABLE_RAYCAST_PICKING - Rendering for rectangle selection made only inside the rectangle, on systems supporting framebuffers
Various other refactorings & fixes

(cherry picked from commit prusa3d/PrusaSlicer@39b1222b22)
2023-11-04 11:41:09 +08:00
enricoturri1966
f0199159e7 Removed tech ENABLE_RENDER_PICKING_PASS
(cherry picked from commit prusa3d/PrusaSlicer@f45711e7e5)
2023-11-04 11:41:09 +08:00
enricoturri1966
1e7a91e2d5 Tech ENABLE_RAYCAST_PICKING - Raytraced picking of Gizmo Flatten
(cherry picked from commit prusa3d/PrusaSlicer@f5e68a6ac6)
2023-11-04 11:41:09 +08:00
enricoturri1966
ab090bf20d Tech ENABLE_RAYCAST_PICKING - Refactoring to allow for easier update of raycasters transform
(cherry picked from commit prusa3d/PrusaSlicer@9ac5ab857b)
2023-11-04 11:41:09 +08:00