Fix PhysicalBone gizmo not showing

The new CollisionObject gizmo used for custom shapes was used with
higher priority due to alphabetical order and was preventing physical
bones from being displayed in the editor.
This commit is contained in:
PouleyKetchoupp 2021-03-22 10:30:12 -07:00
parent c0b3ad2f7b
commit 13258baf4c

View file

@ -3056,7 +3056,7 @@ String CollisionObjectGizmoPlugin::get_name() const {
} }
int CollisionObjectGizmoPlugin::get_priority() const { int CollisionObjectGizmoPlugin::get_priority() const {
return -1; return -2;
} }
void CollisionObjectGizmoPlugin::redraw(EditorSpatialGizmo *p_gizmo) { void CollisionObjectGizmoPlugin::redraw(EditorSpatialGizmo *p_gizmo) {