mirror of
https://github.com/godotengine/godot.git
synced 2024-11-25 13:43:15 +00:00
Merge pull request #41644 from Eoin-ONeill-Yokai/collision_2d_shape_visualization_fix
CollisionShape2D 'Disabled' Visualization Correction
This commit is contained in:
commit
a23d7480d2
@ -110,6 +110,7 @@ void CollisionShape2D::_notification(int p_what) {
|
||||
draw_col.r = g;
|
||||
draw_col.g = g;
|
||||
draw_col.b = g;
|
||||
draw_col.a *= 0.5;
|
||||
}
|
||||
shape->draw(get_canvas_item(), draw_col);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user