Commit Graph

10033 Commits

Author SHA1 Message Date
f7dcfb188a Fix toolbar rendering on Windows 2023-11-18 17:24:08 +08:00
d884d5f847 Bring back anti-aliasing to toolbar icons (#2739) 2023-11-18 14:51:22 +08:00
71052dd3be 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
9bf8c87584 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
83b9fe2741 Merge branch 'main' into dev/gizmo 2023-11-17 09:18:31 +08:00
d2e24fa039 Fix layer height modifier layout (#2708) (#2756) 2023-11-16 19:15:37 +08:00
99c77e440d 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
980c616095 Merge branch 'main' into dev/gizmo 2023-11-11 16:28:17 +08:00
fcaf8cee17 Fix min brush size when using scroll wheel (#2534) (#2693) 2023-11-11 15:15:57 +08:00
2478305d92 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
160a5adf31 Rewrite bed raycaster registering that fixes crash when creating new project 2023-11-10 23:02:11 +08:00
b7c3cd1b9d Fix complie error after merge 2023-11-10 10:54:02 +08:00
33eca28f10 Merge remote-tracking branch 'origin/main' into dev/gizmo 2023-11-10 09:57:11 +08:00
572bc2dabd 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
9fe1cbab3f Fix cli segfault (#2661) (#2665) 2023-11-09 22:22:43 +08:00
addf53fadb 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
d3694427c0 Automatically recover from corrupted config file 2023-11-09 22:09:41 +08:00
c66fdccea6 Merge remote-tracking branch 'origin/main' into dev/gizmo 2023-11-08 09:14:28 +08:00
96d636f23d Fix canvas background in dark mode 2023-11-08 09:14:16 +08:00
79a11220e3 Fixed a regression that checking new version didn't work
Fixed #2622
2023-11-07 21:32:36 +08:00
8bd90db9c3 Fixed a regression that bed type was not remembered and switched when switching bed types 2023-11-07 18:36:20 +08:00
d5415dc608 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
ab8c202752 Fix painter gizmos crash on macOS 2023-11-06 20:42:02 +08:00
79e96f5a6e Cut: Fix crashing in programming cut. Also fixes the cut z offset. 2023-11-05 16:03:10 +08:00
c3625ff48a Text: Fix text moving grabber 2023-11-04 11:41:11 +08:00
60b05679e9 Cut: Fix model rendering 2023-11-04 11:41:11 +08:00
296c0c9a78 Cut: Use Orca color schema and dialog layout 2023-11-04 11:41:11 +08:00
76e7931621 Cut: Initial porting of Cut Gizmo 2023-11-04 11:41:11 +08:00
43d1c0758f Measure: Fix copy to clipboard encoding 2023-11-04 11:41:11 +08:00
9599a9a7a1 Measure: Update measure dialog layout 2023-11-04 11:41:11 +08:00
ad30c2a4bf Measure: Use Orca color schema 2023-11-04 11:41:11 +08:00
468da087bd Measure: Update measure gizmo tooltip 2023-11-04 11:41:11 +08:00
3b421954fc Measure: Fix measure window position 2023-11-04 11:41:10 +08:00
4946f32cdd Measure: Initial porting of Measure Gizmo 2023-11-04 11:41:10 +08:00
241895071b Sync most of the gizmos with latest PrusaSlicer 2023-11-04 11:41:10 +08:00
0e39c3fecc 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
d8185ca9f4 Various gizmos refactoring 2023-11-04 11:41:10 +08:00
7c555003ad Separate GizmoManager on_move into gizmo itself
(cherry picked from commit prusa3d/PrusaSlicer@c751d6327d)
2023-11-04 11:41:10 +08:00
866d0fb33f Do not compile sla related gizmos 2023-11-04 11:41:10 +08:00
673261e1f3 Add virtual function to process mouse_event
(cherry picked from commit prusa3d/PrusaSlicer@2ab44546bd)
2023-11-04 11:41:10 +08:00
77d875c27a 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
279dc7fc20 remove unnecessary getting of raw pointer from unique pointer
(cherry picked from commit prusa3d/PrusaSlicer@209eda75a0)
2023-11-04 11:41:10 +08:00
5f48c32bcb 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
3da63eab27 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
954904e486 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
c142161111 Removed tech ENABLE_RENDER_PICKING_PASS
(cherry picked from commit prusa3d/PrusaSlicer@f45711e7e5)
2023-11-04 11:41:09 +08:00
cbc95688df Tech ENABLE_RAYCAST_PICKING - Raytraced picking of Gizmo Flatten
(cherry picked from commit prusa3d/PrusaSlicer@f5e68a6ac6)
2023-11-04 11:41:09 +08:00
1964bd4321 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
e60c67dfd2 Tech ENABLE_RAYCAST_PICKING - Raytraced picking of Move, Rotate and Scale Gizmo 2023-11-04 11:41:09 +08:00
f05da6d0b9 Fix volume picking in cut gizmo 2023-11-04 11:41:09 +08:00