mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-13 03:41:49 +08:00
Fixed use of an uninitialized variable in GLGizmoPainterBase::update_raycast_cache().
This commit is contained in:
parent
d1523d2a6b
commit
6fed5c29a1
@ -220,7 +220,7 @@ private:
|
|||||||
Vec3f hit;
|
Vec3f hit;
|
||||||
size_t facet;
|
size_t facet;
|
||||||
};
|
};
|
||||||
mutable RaycastResult m_rr;
|
mutable RaycastResult m_rr = {Vec2d::Zero(), -1, Vec3f::Zero(), 0};
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void on_set_state() override;
|
void on_set_state() override;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user