Files
OrcaSlicer/src/slic3r/GUI
Dima Buzdyk 5d45770745 gui: fix zoom-to-mouse (#4844)
gui: fix zoom-to-mouse

Plater disappeared when zoom-to-mouse enabled and user tries to zoom
with a side view enabled (Ctrl+<3..6>).

Mouse/screen center position estimation in 3D is made by calculating
intersection of a mouse vector which comes 'through' the screen with an
XY plane. However, when screen is parallel to Z axis, intersection point
located at infinite which results in infinite camera translation vector.

This change switches mouse position estimation to use of projection
matrix like its done for camera panning.
2024-04-14 17:49:44 +08:00
..
2023-10-10 14:19:23 +08:00
2023-12-01 10:42:45 +00:00
2023-12-01 10:42:45 +00:00
2024-01-21 22:13:37 +08:00
2023-10-21 19:41:49 +08:00
2023-11-04 11:41:03 +08:00
2024-01-26 20:18:10 +08:00
2023-12-01 10:42:45 +00:00
2023-12-01 10:42:45 +00:00
2024-02-27 21:57:31 +08:00
2024-02-27 21:57:31 +08:00
2023-12-01 10:42:45 +00:00
2023-12-01 10:42:45 +00:00
2023-08-09 13:42:41 +08:00
2024-01-26 20:18:10 +08:00
2023-08-30 23:38:33 +08:00
2024-01-01 10:58:22 -05:00
2023-12-01 10:42:45 +00:00
2024-04-14 17:49:44 +08:00
2023-11-04 11:41:06 +08:00
2024-02-27 21:57:31 +08:00
2024-03-02 11:43:18 +08:00
2023-12-01 10:42:45 +00:00
2023-07-25 19:19:49 +08:00
2023-12-01 10:42:45 +00:00
2023-09-29 19:46:49 +08:00
2023-12-01 10:42:45 +00:00
2023-12-01 10:42:45 +00:00
2024-01-26 20:18:10 +08:00
2023-07-07 17:52:43 +08:00
2023-03-16 20:50:23 +08:00
2023-08-09 13:42:41 +08:00
2024-01-26 20:18:10 +08:00
2023-12-01 10:42:45 +00:00
2024-01-15 22:35:08 +08:00
2023-12-01 10:42:45 +00:00
2023-12-23 17:44:09 +08:00
2024-01-21 21:00:18 +08:00
2023-12-01 10:42:45 +00:00
2023-08-30 23:39:00 +08:00
2024-01-21 22:13:37 +08:00
2023-08-09 13:42:41 +08:00
2023-09-09 23:05:45 +08:00
2023-09-09 23:05:45 +08:00
2023-02-22 20:09:17 +08:00
2023-12-23 17:44:09 +08:00
2023-12-23 17:44:09 +08:00
2023-07-07 17:52:43 +08:00
2023-07-07 17:52:43 +08:00
2023-07-07 17:52:43 +08:00
2023-12-01 10:42:45 +00:00
2023-12-19 23:46:19 +08:00
2024-01-26 20:18:10 +08:00
2023-12-01 10:42:45 +00:00
2024-01-26 20:18:10 +08:00
2024-01-26 20:18:10 +08:00