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;
|
||||
size_t facet;
|
||||
};
|
||||
mutable RaycastResult m_rr;
|
||||
mutable RaycastResult m_rr = {Vec2d::Zero(), -1, Vec3f::Zero(), 0};
|
||||
|
||||
protected:
|
||||
void on_set_state() override;
|
||||
|
Loading…
Reference in New Issue
Block a user