Tint 3D light gizmos using the light's color
This makes navigation more convenient in the 3D viewport, especially when using the unshaded display mode.
This commit is contained in:
parent
7fddf5eb7c
commit
ac18665c88
7 changed files with 36 additions and 22 deletions
|
|
@ -103,6 +103,8 @@ void Light::set_color(const Color &p_color) {
|
|||
|
||||
color = p_color;
|
||||
VS::get_singleton()->light_set_color(light, p_color);
|
||||
// The gizmo color depends on the light color, so update it.
|
||||
update_gizmo();
|
||||
}
|
||||
Color Light::get_color() const {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue