mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-07-03 17:05:43 +02:00
Fixed clipping plane in painter gizmos:
Obsolete variable m_clipping_plane was used instead of getting the clipping plane from the common gizmo data pool. This means the clipped parts of objects captured hits and could not be painted through. The clipped_mesh_was_hit variable is obsolete now. It was a mistake to introduce it in the first place.
This commit is contained in:
@@ -101,8 +101,6 @@ private:
|
||||
const Camera& camera,
|
||||
const std::vector<Transform3d>& trafo_matrices) const;
|
||||
|
||||
float m_clipping_plane_distance = 0.f;
|
||||
std::unique_ptr<ClippingPlane> m_clipping_plane;
|
||||
GLIndexedVertexArray m_vbo_sphere;
|
||||
|
||||
bool m_internal_stack_active = false;
|
||||
@@ -126,7 +124,6 @@ private:
|
||||
int mesh_id;
|
||||
Vec3f hit;
|
||||
size_t facet;
|
||||
bool clipped_mesh_was_hit;
|
||||
};
|
||||
mutable RaycastResult m_rr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user