mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-10 21:09:38 +01:00
Fix maybe uninitialized warning.
This commit is contained in:
parent
ab82a74b04
commit
c1622601f1
@ -580,7 +580,7 @@ ObjectID SpatialEditorViewport::_select_ray(const Point2 &p_pos) {
|
||||
RBSet<Ref<EditorSpatialGizmo>> found_gizmos;
|
||||
|
||||
Node *edited_scene = get_tree()->get_edited_scene_root();
|
||||
ObjectID closest;
|
||||
ObjectID closest = ObjectID();
|
||||
Node *item = nullptr;
|
||||
float closest_dist = 1e20;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user