summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2021-03-22 10:29:49 -0700
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2021-03-22 10:29:49 -0700
commit0e4c34ac657d4d33ccfc8c1942e3303b2df36310 (patch)
treebfe88b1700973194fb602fe755373e35f60086a9 /editor
parent07f076fa4f2896415993bb8e3fb42128423de0d2 (diff)
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.
Diffstat (limited to 'editor')
-rw-r--r--editor/node_3d_editor_gizmos.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/node_3d_editor_gizmos.cpp b/editor/node_3d_editor_gizmos.cpp
index 64cf9a7bb7..7dcabafece 100644
--- a/editor/node_3d_editor_gizmos.cpp
+++ b/editor/node_3d_editor_gizmos.cpp
@@ -3531,7 +3531,7 @@ String CollisionObject3DGizmoPlugin::get_gizmo_name() const {
}
int CollisionObject3DGizmoPlugin::get_priority() const {
- return -1;
+ return -2;
}
void CollisionObject3DGizmoPlugin::redraw(EditorNode3DGizmo *p_gizmo) {