mirror of
https://github.com/godotengine/godot.git
synced 2025-11-03 15:11:19 +00:00
Use same colors for editor and running project for collision/path debug
This harmonizes the appearance of collision shapes and paths between the editor and running project, in both 2D and 3D. This means that in 3D, paths are now green and shapes are now cyan instead of light blue.
This commit is contained in:
parent
4a0160241f
commit
b1a2394b3b
12 changed files with 10 additions and 14 deletions
|
|
@ -1054,7 +1054,7 @@ int Path3DGizmoPlugin::get_priority() const {
|
|||
}
|
||||
|
||||
Path3DGizmoPlugin::Path3DGizmoPlugin(float p_disk_size) {
|
||||
Color path_color = EDITOR_DEF_RST("editors/3d_gizmos/gizmo_colors/path", Color(0.5, 0.5, 1.0, 0.9));
|
||||
Color path_color = SceneTree::get_singleton()->get_debug_paths_color();
|
||||
Color path_tilt_color = EDITOR_DEF_RST("editors/3d_gizmos/gizmo_colors/path_tilt", Color(1.0, 1.0, 0.4, 0.9));
|
||||
disk_size = p_disk_size;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue