소스 검색

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.
PouleyKetchoupp 4 년 전
부모
커밋
0e4c34ac65
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      editor/node_3d_editor_gizmos.cpp

+ 1 - 1
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) {