mirror of
https://github.com/godotengine/godot.git
synced 2025-02-18 00:30:43 +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.r = g;
|
||||||
draw_col.g = g;
|
draw_col.g = g;
|
||||||
draw_col.b = g;
|
draw_col.b = g;
|
||||||
|
draw_col.a *= 0.5;
|
||||||
}
|
}
|
||||||
shape->draw(get_canvas_item(), draw_col);
|
shape->draw(get_canvas_item(), draw_col);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user