1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

Fixes a crash on draw_hover

This commit is contained in:
groud
2018-06-12 11:01:24 +02:00
parent d5bb6faac7
commit 71cea6b515
2 changed files with 57 additions and 39 deletions

View File

@@ -257,9 +257,15 @@ class CanvasItemEditor : public VBoxContainer {
return has_z && p_rr.has_z ? p_rr.z_index < z_index : p_rr.has_z;
}
};
Vector<_SelectResult> selection_results;
Vector<_SelectResult> hovering_results;
struct _HoverResult {
Point2 position;
Ref<Texture> icon;
String name;
};
Vector<_HoverResult> hovering_results;
struct BoneList {