mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 02:07:54 -06:00
SLA gizmo now respects the clipping plane when rendering points and raycasting mouse onto mesh
This commit is contained in:
parent
fd1f9d65fb
commit
bc9164e40c
4 changed files with 74 additions and 27 deletions
|
@ -778,6 +778,9 @@ private:
|
|||
// Sets current projection matrix to ortho, accounting for current camera zoom.
|
||||
void set_ortho_projection(float w, float h, float near, float far) const;
|
||||
|
||||
// Set/unset near clipping plane according to SLA gizmo requirements.
|
||||
void set_sla_clipping(bool enable) const;
|
||||
|
||||
void _start_timer();
|
||||
void _stop_timer();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue