Fixed use of an uninitialized variable in GLGizmoPainterBase::update_raycast_cache().

This commit is contained in:
Lukáš Hejl 2022-01-20 15:31:53 +01:00
parent d1523d2a6b
commit 6fed5c29a1

View File

@ -220,7 +220,7 @@ private:
Vec3f hit;
size_t facet;
};
mutable RaycastResult m_rr;
mutable RaycastResult m_rr = {Vec2d::Zero(), -1, Vec3f::Zero(), 0};
protected:
void on_set_state() override;