mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +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
|
|
@ -49,7 +49,7 @@
|
|||
|
||||
CollisionShape3DGizmoPlugin::CollisionShape3DGizmoPlugin() {
|
||||
helper.instantiate();
|
||||
const Color gizmo_color = EDITOR_GET("editors/3d_gizmos/gizmo_colors/shape");
|
||||
const Color gizmo_color = SceneTree::get_singleton()->get_debug_collisions_color();
|
||||
create_material("shape_material", gizmo_color);
|
||||
const float gizmo_value = gizmo_color.get_v();
|
||||
const Color gizmo_color_disabled = Color(gizmo_value, gizmo_value, gizmo_value, 0.65);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue